Hello....Im making a servlet and in the doGet method i make a request to a Database using Hibernate. The result of the query is a List<Object> where the Object is a DTO.
Now i want to pass this result as a response so i have to convert it to JSon.
How can i do this...?? Do i need to convert every element of the list or is there a way that i convert just the list...PLz HELP