Java JSON Tutorials: Jackson and Gson

Jackson and Gson are the two most used JSON libraries for Java. Jackson is the default in Spring Boot; Gson is a lighter alternative popular in Android.

1. Jackson

See the full Jackson Tutorial for marshalling and unmarshalling Java objects to and from JSON.

2. Gson

See the full Gson Tutorial for toJson() and fromJson() examples.

Happy Learning !!

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.