Upon making an API call, the response is formatted in JSON as shown below:
{
"applicationData": {
"outerMap": {
"record(id=1, description=description)": {
"key(id=1, englishDescription=enDescription)": [
{
"id": 1,
"description": "point 1"
},
{
"id": 2,
"description": "point 2"
}
]
}
}
},
"messages": [
"successfully"
],
"httpStatus": "OK"
}
The data returned by the API call corresponds to the following object structure:
public class Data {
private Map<Record, Map<Key, List<Point>>> outerMap;
}
I find it unclear why there are parentheses used in the JSON response, which has led to some confusion. It seems like this format could potentially be utilized for the purpose of "de-serialization" in order to reconstruct the object?