0
{
   "Name":"Satyajit",
   "LastName":"Mohanty",
   "A":{
      "B":"None",
      "C":[
         {
            "D":"Hello",
            "E":"Hi",
            "F":{
               "key":"Phone",
               "value":"Ph1"
            },
            "G":{
               "key":"Phone",
               "value":"Ph1"
            }
         }
      ]
   }
}
1
  • Like the JSON is. Commented Apr 9, 2020 at 8:09

1 Answer 1

0

    MainObjectDto {
     private String Name;
     private String LastName;
     private ADto A;
     }
     
     ADto {
      private String B;
      private CDto[] C;
     }
     
     CDto {
      private String D;
      private String E;
      private FDto F;
      private GDto G;
     }
     
     FDto {
      private String key;
      private String value;
     }
     
     GDto {
      private String key;
      private String value;
     }

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.