I have following JSON request:
{
"one":{
"key":"value",
"key":"value",
"key":"value"
},
"two":[
"value"
],
"three":[
"value"
],
"four":[
"value"
]
}
How can I represent it as a Java object/data structure? I can normally take JSON starting from "two"
and handle it as follows:
@RequestBody Map<String, List<String>> inputParams
any suggestions?