elle
elle

Reputation: 3245

Spring mvc jackson json

I'm trying to use JQuery with JSP ang Spring MVC. In the example I'm working on, it is given that,

// @ResponseBody will automatically convert the returned value into JSON format
// You must have Jackson in your classpath

How to add Jackson to classpath? What is its use?

Upvotes: 1

Views: 1667

Answers (1)

Satadru Biswas
Satadru Biswas

Reputation: 1595

Add jackson json library to your build path and web app library. It is required to serialize the POJO to json

Upvotes: 5

Related Questions