I have a json file with the format like this:

```
    {
    "id":"nav_grap",
    "startDestination":0,

    "navigators":[

        {
            "id":0,
            "groupsId":"0",
            "controller_name":"LoginScreen",
            "titleVi":"login_screen",
            "titleEn":"Dang nhap",
            "actions":[{
            "name":"idaction_loginScreen_to_homeScreen",
            "destination":1

            }]},
       {
            "id":1,
            "groupsId":"1",
            "controller_name":"HomeScreen",
            "titleVi":"Cong viec",
            "titleEn":"Jobs",
            "actions":[]
       },
       {
            "id":2,
            "groupsId":"2",
            "controller_name":"NewsScreen",
            "titleVi":"Tin tuc",
            "titleEn":"News",
            "actions":[]
       },
       {
            "id":3,
            "groupsId":"3",
            "controller_name":"BiometricsScreen",
            "titleVi":"Sin trac hoc",
            "titleEn":"News",
            "actions":[]
       },
       {
            "id":4,
            "groupsId":"4",
            "controller_name":"ContactScreen",
            "titleVi":"Tin tuc",
            "titleEn":"News",
            "actions":[]
       }]
}.       

```

I want to generate a class or object base on the format of this json file when I build my project so after project built I would have a object with properties like this:

```
    class ScreenConfig : Decodable{

       var id : String
       var startDestination : Int
       var navigators : [Navigator] = []

       init(id : String, startDestination : Int, navigator : [Navigator]) {
          self.id = id
          self.startDestination = startDestination
          self.navigators = navigator
         }

       init() {
                self.id = ""
                self.startDestination = 0
                self.navigators = []
              }
      }.       

```

So,could anyone please tell me how can I archive this? thanks.