Category Archives: Spring

Spring MVC: Return a JSON object

In a Spring MVC project, we can directly return a JSON object. This feature is very useful when combined with ajax request from the client side. Here is few simple step to do this: Import JSON dependencies (jackson library) to … Continue reading

Posted in Java, Spring | Leave a comment