K2 must be able to support complex JSON parsing including nested objects in arrays
Today K2 is only able to deserialize nested objects on the first level, but not inside structures.
This is a blocking issue as a web service client we don't control the API provided by the server.
As JSON parsing is the only way to work with web services, it must be fully supported and this includes arrays of nested Objects.
In the exemple below, K2 is not able to retrieve the data contained in the "nestedObject".
(Note that this has been confirmed by the K2 NE Professional Services team, check with Jaco Dippenaar for more details about the issue)
{
"Arraytype1": [
{
"id": "ID1",
"reference": "REF1",
"nestedObject": {
"id": "SUBID1",
"name": null,
"cancelled": null,
},
"flatfield1": false,
"flatfield2": 1474431599000,
"flatfield3": false,
},
{
"id": "ID2",
"reference": "REF2",
"nestedObject": {
"id": "SUBID2",
"name": null,
"cancelled": null,
},
"flatfield1": false,
"flatfield2": 1503376175000,
"flat_field3": false,
}
]
}
