Java Servlet JSON Response in JSP using Gson

In Modern web application We get data from server in JSON format and display data in jsp or html page using Front end library or frameworks like Angular, React etc. This is similar for mobile app development. Here we will see how we can get JSON Response from servlet and show in jsp. What is … Read more

How to Convert Java Object to/from JSON using GSON

Gson is Java JSON library that is used to convert Java object to/from JSON GSON is developed by google. GSON Maven dependency is as below

You can also download Gson Jar from here Gson jar contains API to work with JSON GOal of GSON is provide simple methods to convert and receive JSON, Provides … Read more