I have a very heavy JSON with lots of parameters which I want to convert to a Java object containing just a few of them.
Direct conversion such as this
DataObject obj = gson.fromJson(br, DataObject.class);
is not an option.
How can I access individual fields within objects (just value
under date
and type
under attributes
under completion_date
)?
JSON example:
{"results":[
{"date":{
"attributes":{
"type":null},
"value":"December 13, 2010"},
"is_structured":"No",
"completion_date":{
"attributes":{
"type":"Anticipated"},
"value":"March 2016"},
....