I am trying to create JSON object from java object. My java class has so many objects and sub objects as members. It is nested to 4-5 level. How do I create the json from this structure? I am trying using java reflation to get fields and sub fields but not able to add them in proper way to form a json.
Aucun commentaire:
Enregistrer un commentaire