🌐
Maven Repository
mvnrepository.com › open-source › json-libraries
Maven Repository: JSON Libraries
JSON parsing, generation, and serialization libraries for working with JSON data. ... Gson is a Java library that can be used to convert Java Objects into their JSON representation.
🌐
Reddit
reddit.com › r/springboot › best json library for a smooth developer experience in java?
r/SpringBoot on Reddit: Best JSON Library for a Smooth Developer Experience in Java?
September 28, 2023 -

Hi Devs, I'm relatively new to the world of backend development, and I'm currently working on a Java project using the Spring Boot framework. My application involves a lot of JSON data manipulation. Here's what I'm up to:

I fetch data from some APIs, manipulate it according to my application's needs, and provide that data through controllers. JSON plays a central role in this process.

As a beginner in this field, I'm looking for advice from experienced developers. Which JSON library have you found to offer the best developer experience when working in Java, especially within a Spring Boot project?

In my case, what factors should I prioritize for a smooth development experience considering the heavy JSON manipulation I'm doing?

Discussions

What is the best JSON java library to use? (I'm new to JSON with java)

I've used Jackson, it's alright.

More on reddit.com
🌐 r/learnprogramming
5
1
November 4, 2021
java - which jar libraries should i use when using json - Stack Overflow
if im gonna run a java code with using json do i need to include these 2 jar libraries or a single one is enough. More on stackoverflow.com
🌐 stackoverflow.com
Introducing json4j: A Minimal JSON Library for Java
> I really don't want to use JSON libraries that larger than my codebase, so I wrote json4j. You don't need a justification to build something. But if you do provide a justification, it should be a valid one. Why does the size of the JSON library matter? You're already depending on a JVM that's tens of megabytes. And unless you're in some kind of constrained environment, those megabytes barely cost a thing. Wouldn't you prefer a slightly bigger but mature, well-tested, industry-hardened library instead of a hobby project? More on reddit.com
🌐 r/java
34
97
October 12, 2025
How to parse Json with Java.

Google's GSON is great. Create the class structure, deserialize from json into java objects. Couldn't be simpler!

More on reddit.com
🌐 r/java
30
9
June 1, 2010
🌐
GitHub
github.com › stleary › JSON-java
GitHub - stleary/JSON-java: A reference implementation of a JSON package in Java. · GitHub
The JSON-Java package is a reference implementation that demonstrates how to parse JSON documents into Java objects and how to generate new JSON documents from the Java classes.
Starred by 4.7K users
Forked by 2.6K users
Languages   Java
🌐
GitHub
github.com › FasterXML › jackson
GitHub - FasterXML/jackson: Main Portal page for the Jackson project · GitHub
Jackson has been known as "the Java JSON library" or "the best JSON parser for Java".
Starred by 9.7K users
Forked by 1.2K users
🌐
Wordpress
imams95.wordpress.com › 2024 › 05 › 06 › working-with-json-in-java-libraries-and-best-practices
Working with JSON in Java: Libraries and Best Practices – Information Technology
May 6, 2024 - Jackson: Jackson is one of the most widely used JSON libraries in the Java ecosystem. It provides high-performance JSON parsing and generation capabilities along with a simple and intuitive API. Jackson’s ObjectMapper class allows developers to convert JSON data to Java objects (POJOs) and vice versa effortlessly.
🌐
Baeldung
baeldung.com › home › json › jackson › json in java
JSON in Java | Baeldung
May 11, 2024 - Next, let’s have a look at the most popular of these – Jackson. Jackson is a multi-purpose Java library for processing JSON data.
Find elsewhere
🌐
Java Guides
javaguides.net › 2019 › 07 › best-json-library-for-java.html
Best JSON Library for Java
January 4, 2020 - Jackson offers three methods for ... of a JSON document · Data binding: converts JSON to and from POJO. To use Jackson Java library, add below maven dependency:...
🌐
jq
jqlang.org
jq
jq is a lightweight and flexible command-line JSON processor
🌐
Oracle
oracle.com › java › technical details
Java API for JSON Processing
The Java API for JSON Processing provides portable APIs to parse, generate, transform, and query JSON.
🌐
Jsononline
jsononline.net › home › top 5 json libraries in java that every developer should know
Top 5 JSON Libraries in Java that every Developer Should Know
August 25, 2021 - Among all JSON libraries, Jackson comes on the top due to its rich features and consistency. Jackson is a multi-purpose Java library to process the JSON data, and it’s considered best for the developers who are hunting down a combination of lightweight, fast, correct, and ergonomic traits.
🌐
Stripe
docs.stripe.com › api
Stripe API Reference
January 29, 2026 - The Stripe API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
🌐
INNOQ
innoq.com › en › articles › 2022 › 02 › java-json
Processing JSON in Java
February 22, 2022 - Of the two significantly smaller libraries org.json and Gson, Gson has a small advantage. But both lie significantly behind Jackson, at least in this benchmark, which surprised me. The by some margin fastest library in this benchmark, dsljson, relies in contrast to our four libraries on code generation by means of Java annotation processing.
🌐
Reddit
reddit.com › r/java › introducing json4j: a minimal json library for java
r/java on Reddit: Introducing json4j: A Minimal JSON Library for Java
October 12, 2025 -

Minimal, standard-first JSON writer and parser. One single Java file, 1k LoC, no dependencies.

Background

I often write small Java tools (CLI, Gradle plugins, scripts) that need to read/write JSON. I really don't want to use JSON libraries that larger than my codebase, so I wrote json4j.

Usage

You can use as dependency:

implementation("io.github.danielliu1123:json4j:+")

or use as source code, just copy Json.java into your codebase:

mkdir -p json && curl -L -o json/Json.java https://raw.githubusercontent.com/DanielLiu1123/json4j/refs/heads/main/json4j/src/main/java/json/Json.java

There are only two APIs:

record Point(int x, int y) {}
    
// 1) Write JSON
Point point = new Point(1, 2);
String json = Json.stringify(point);
// -> {"x":1,"y":2}
    
// 2) Read JSON
    
// 2.1) Simple type
String json = "{\"x\":1,\"y\":2}";
Point point = Json.parse(jsonString, Point.class);
// -> Point{x=1, y=2}
    
// 2.2) Generic type
String json = "[{\"x\":1,\"y\":2},{\"x\":3,\"y\":4}]";
List<Point> points = Json.parse(jsonString, new Json.Type<List<Point>>() {});
// -> [Point{x=1, y=2}, Point{x=3, y=4}]

That's all!

Link

Repo: https://github.com/DanielLiu1123/json4j

🌐
Handlebars
handlebarsjs.com
Handlebars
Minimal templating on steroids
🌐
Quora
quora.com › Why-doesnt-Java-have-its-own-JSON-parsing-library
Why doesn't Java have its own JSON parsing library? - Quora
Answer (1 of 3): Java does have it’s own JSON parsing library. There are 3 JSRs related to JSON. JSR - 374 is already a 1.1 version of the Java API for JSON Processing on jcp.org In Jakarta.ee the JSON Processing 2.0 version is already available and included with Jakarta EE 9. https://jakarta....
🌐
SourceForge
sourceforge.net › projects › json-java.mirror
JSON-java download | SourceForge.net
December 24, 2025 - Download JSON-java for free. A reference implementation of a JSON package in Java. JSON is a light-weight language-independent data interchange format. The JSON-Java package is a reference implementation that demonstrates how to parse JSON documents ...
🌐
Medium
medium.com › @Mohd_Aamir_17 › mastering-json-in-java-a-comprehensive-guide-to-handling-json-objects-arrays-and-nodes-with-df57bf0ebff1
Mastering JSON in Java: A Comprehensive Guide to Handling JSON Objects, Arrays, and Nodes with Jackson | by Mohd Aamir | Medium
November 4, 2024 - While Java has several libraries for JSON handling — such as Gson, org.json, and JSON-P — Jackson stands out for its performance, extensive feature set, and flexibility. Jackson’s ObjectMapper, JsonNode, ObjectNode, and ArrayNode classes provide a robust way to work with JSON data dynamically or in a structured manner.
🌐
Prettier
prettier.io
Prettier · Opinionated Code Formatter · Prettier
JavaScript · JSX · Flow · TypeScript · JSON · CSS · Less · SCSS · styled-components 💅 · styled-jsx · HTML · Vue · Angular · Ember / Handlebars · Lightning Web Components (LWC) MJML · YAML · Markdown · CommonMark · GitHub-Flavored Markdown ·