I\'m a newbie in the theme. How can I return JSON data from my controller, using something like that (using ResponseBody)
@RequestMapping(value = \"/ajaxtest
If you are using maven, you can include the following dependency in your pom.xml
Jackson Mapper Version 1 which is good enough to convert your object to JSON object:
org.codehaus.jackson
jackson-mapper-asl
1.9.13
Or you can also go for latest Jackson version,
com.fasterxml.jackson.core
jackson-databind
2.6.0
com.fasterxml.jackson.core
jackson-core
2.6.0
com.fasterxml.jackson.core
jackson-annotations
2.6.0