I am using Jackson to deserialize JSON from the ReST API for Java using Jackson.
The problem I ran into is that one specific ReST answer goes back to the object referenced by the numeric identifier, for example:
{
"1443": [
/* these are the objects I actually care about */
{
"name": "V1",
"count": 1999,
"distinctCount": 1999
/* other properties */
},
{
"name": "V2",
"count": 1999,
"distinctCount": 42
/* other properties */
},
...
]
}
My (possibly naive) approach to JSON deserialization until this point was to create a POJO of the mirror image and let Jackson easily and automatically display all the fields, which is good.
, ReST JSON , POJO, . POJO, , Java.
, .