Return a MappingJacksonValue from a REST Controller

A proof of concept can be seen below:

@GetMapping("...")public MappingJacksonValue fooMethod(...)             throws JsonProcessingException {   List foos = ...;   MappingJacksonValue wrapper = new MappingJacksonValue(fooa);   ...   return wrapper;}
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Related Posts