Java JSON Tutorials with Examples


JSON (JavaScript Object Notation) is a simple, lightweight and easy to read and write data exchange formats. In Java, normally we use JacksonGson, JSON-P or JSON.simple popular libraries to parse JSON in Java.

1. Jackson

Jackson is a very popular and efficient Java-based library to serialize or map Java objects to JSON and vice versa. This tutorial contains a large number of articles/posts which demonstrates the basic and advanced Jackson library API features and their usage with lots of examples.

The source code of these examples and tutorials available on my GitHub repository at https://github.com/RameshMF/jackson-json-tutorial

2. GSON

Gson is a Java library that can be used to convert Java Objects into their JSON representation and vice-versa.
Below are GSON examples:
The source code of these examples and articles are available on my GitHub repository at https://github.com/RameshMF/gson-tutorial

3. JSON-P


4. JSON.simple

Comments