Open-source Java projects categorized as JSON

Top 23 Java JSON Projects

  • GitHub repo fastjson

    A fast JSON parser/generator for Java.

  • GitHub repo Gson

    A Java serialization/deserialization library to convert Java Objects into JSON and back

    Project mention: Need help with planning a GUI project for my finals | | 2021-04-04

    However, I do know that there isn't an inbuilt JSON parser within Java. So, you will need to include a third-party JSON parser library within your project. I've had experience with using gson for doing this myself, and that library is also rather easy to use.

  • GitHub repo jjwt

    Java JWT: JSON Web Token for Java and Android

    Project mention: JWT authentication in Spring Security and Angular | | 2020-09-14

    There are many open-source JWT implementations available for all languages. In this blog post, we use Java jjwt library in this blog post.

  • GitHub repo Moshi

    A modern JSON library for Kotlin and Java.

  • GitHub repo jsonschema2pojo

    Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc

  • GitHub repo REST Assured

    Java DSL for easy testing of REST services

    Project mention: Contract-First Development Using RestAssured and OpenAPI | | 2021-04-09

    In this post, we will demonstrate how can OpenAPI be used in a RestAssured-based integration test to ensure that the API conforms to its specification.

  • GitHub repo WireMock

    A tool for mocking HTTP services

  • GitHub repo LoganSquare

    Screaming fast JSON parsing and serialization library for Android.

  • GitHub repo jackson-databind

    General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)

    Project mention: Now that records are official, hoping for expanded support from popular libraries and frameworks | | 2021-03-20

    Record support was added transparently to Jackson for Java 14. No extra annotations needed:

  • GitHub repo Jackson

    Core part of Jackson that defines Streaming API as well as basic shared abstractions

    Project mention: Ryū: fast float-to-string conversion (Java lib, 2018 paper) | | 2021-03-07

    Jackson already has some improvements for string-to-number conversion over stock JDK parser ( Would be great if they added faster number-to-string too.

  • GitHub repo logstash-logback-encoder

    Logback JSON encoder and appenders

    Project mention: Spring Cloud Sleuth in action | | 2021-03-04

    We need to add traceId and spanId values to the application log. In production we would use the logstash-logback-encoder to generate logs in JSON format and send them to an ELK but for the demo we use this plain text logback layout:

  • GitHub repo protostuff

    Java serialization library, proto compiler, code generator

  • GitHub repo schema-registry

    Confluent Schema Registry for Kafka

    Project mention: An Overview About the Different Kafka Connect Plugins | | 2021-02-18

    Schema Registry from Confluent (GitHub) => http://localhost:8081/

  • GitHub repo FST

    FST: fast java serialization drop in-replacement

  • GitHub repo jsoniter

    jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go (by json-iterator)

  • GitHub repo hibernate-types

    The Hibernate Types library gives you extra types that are not supported by the Hibernate ORM core.

    Project mention: How to register a custom Hibernate ARRAY Type that handles both real[] and text[] array column types | | 2021-03-02

    I am using the Hibernate Types library for custom Hibernate types.

  • GitHub repo manifold

    Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

    Project mention: We got the [Java] generics we have | | 2021-04-01
  • GitHub repo typescript-generator

    Generates TypeScript from Java - JSON declarations, REST service client

    Project mention: Popular technologies for a full-stack Java developer | | 2021-02-03
  • GitHub repo DSL-JSON

    High performance JVM JSON library

    Project mention: Performance of 12 JSON parsers for Scala | | 2021-03-29

    I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json

  • GitHub repo problem-spring-web

    A library for handling Problems in Spring Web MVC

    Project mention: Error handling in Java is error prone | | 2021-01-26

    It's been done:,responses%20from%20a%20Spring%20application.

  • GitHub repo sirix

    SirixDB is a temporal, evolutionary database system, which uses an accumulate only approach. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach called sliding snapshot.

    Project mention: Building A Time-Traveling Contacts App with SirixDB | | 2020-12-14

    Find us on slack, discourse, or github discussions.

  • GitHub repo JsonUnit

    Compare JSON in your Unit Tests

  • GitHub repo zerocode

    A community-developed, free, open source, microservices API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more. Zerocode Open Source enables you to create, change, orchestrate and maintain your automated test cases declaratively with absolute ease.

    Project mention: Hacktoberfest: 69 Beginner-Friendly Projects You Can Contribute To | | 2020-09-29 A community-developed, free, open source, API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-04-09.


What are some of the best open-source JSON projects in Java? This list will help you:

Project Stars
1 fastjson 23,185
2 Gson 19,382
3 jjwt 7,348
4 Moshi 7,205
5 jsonschema2pojo 5,423
6 REST Assured 5,269
7 WireMock 4,367
8 LoganSquare 3,240
9 jackson-databind 2,793
10 Jackson 1,930
11 logstash-logback-encoder 1,823
12 protostuff 1,615
13 schema-registry 1,460
14 FST 1,350
15 jsoniter 1,314
16 hibernate-types 1,145
17 manifold 1,016
18 typescript-generator 739
19 DSL-JSON 709
20 problem-spring-web 651
21 sirix 645
22 JsonUnit 535
23 zerocode 488