Showing posts with label Java Object to JSON. Show all posts
Showing posts with label Java Object to JSON. Show all posts

Convert Java Object to JSON using Google Gson library

In this tutorial lets see how to convert Java Object to JSON using Google Json library. Its quite very easy and just by toJson() method we can convert to JSON. Lets see simple example...