is it possible to support this JSON in Spring? Without create new object in java, maybe Map?
JSON:
{
"object":"1",
"list":[
{
"id":"1"
}
]
}
Java:
@RequestMapping(method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Map<String, Object>> getRecipe(@RequestBody What should I write in this place?){