Skip to content Skip to sidebar Skip to footer

Is There A Equivalent To Json.net In Java?

In C# I would Deserialize JSON like this, I want to know is there anything available in java that does it the same way? really like this way its clean simple and easy to work it. a

Solution 1:

I often use gson from google, it's very simple and does the job:

https://code.google.com/p/google-gson/

To deserialize object:

Movie movie = newGson().fromJson(json, Movie.class);

Post a Comment for "Is There A Equivalent To Json.net In Java?"