Skip to content Skip to sidebar Skip to footer

Jackson - Store Nested Json Object As Jsonobject

I am deserializing a json object, which contains a nested json object. { 'id:' 1, 'name:' 'test', 'settings': { 'color': '#ff0000' } } Here is my Car class: public clas

Solution 1:

Changing JSONObject to JsonObject seemed to have fixed the problem.


Post a Comment for "Jackson - Store Nested Json Object As Jsonobject"