Is there any special configuration? or should it work out of the box?
eg. should something like this be added to make it work?
<mime-mapping> <extension>json</extension> <mime-type>application/json</mime-type> </mime-mapping>
It seems that there is no special configuration, it takes any applications / json requests out of the box, I suspected the wrong problem.
Look at my other question, it has an original problem and an amazing stupid solution: JQuery, Spring MVC @RequestBody and JSON - making it work together
Tomcat .json mime, , mime conf/web.xml.
JSON, : mime setContentType.
setContentType