Open-source Java projects categorized as JSON | Edit details

Top 23 Java JSON Projects

  • GitHub repo fastjson

    A fast JSON parser/generator for Java.

    Project mention: Ask HN: Differences in Programming Style by Nationalities | | 2021-04-19

    I first noticed a difference in national styles when I contributed a patch to fastjson, a JSON parser in Java from Alibaba.

    Take a look around the repo; it'll look odd to a western programmer. There is a lot of duplication. And the tests don't have names, they are numbered.

    This was several years ago. I did end up choosing it since it really was the fastest.

  • GitHub repo Gson

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

    Project mention: How to package a function + arguments for remote execution (without RMI)? | | 2021-09-26

    (but tbh I would definitely suggest looking into Gson)

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo jjwt

    Java JWT: JSON Web Token for Java and Android

  • GitHub repo Moshi

    A modern JSON library for Kotlin and Java.

    Project mention: Google SignIn Compose | | 2021-09-24

    Moshi is a modern JSON library for Android and Java. It makes it easy to parse JSON into Java objects

  • GitHub repo jsonschema2pojo

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

    Project mention: Working with spoonacular API in Springboot | | 2021-07-15

    Use json2pojo to store json data retrieved using rest template and map it to a pojo ig.

  • 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

    Project mention: localstack - a fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline | | 2021-08-15

    I'm the one that introduced that functionality in You're right that it can be PITA to maintain if you have tons of stub mappings. There's two things that I've found that help:

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • 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: Java Spring Application logging to WS endpoint | | 2021-07-23

    You can use the Logstash Logback encooder. You mentioned Elk, so there must be a Logstash running somewhere you can connect to with this appender

  • GitHub repo protostuff

    Java serialization library, proto compiler, code generator

  • GitHub repo schema-registry

    Confluent Schema Registry for Kafka

    Project mention: confluent Schema Registry and Rust | | 2021-07-26

    Confluent is a company founded by the creators of Apache Kafka. They are providing the Confluent Platform which consists of several components, all based on Kafka. The license for these components vary. The Schema Registry has the community-license, which basically means it's free to use as long as you don't offer the Schema Registry itself as a SaaS solution. The source code can be found on Github.

  • 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: Hibernate Community • Performance comparison with JDBC - Does anyone have a modern version of this comparison? | | 2021-06-18

    Complex DB structures are not a problem. You can map any database type you want: JSON, HStore, Ranges, Inet, as I did in this hypernate-types project.

  • GitHub repo proteus

    Proteus : A JSON based LayoutInflater for Android

    Project mention: Server driven UI Requirement in Flutter | | 2021-06-03

    Then again, there are a few libraries for native development like Epoxy by AirBnB and where they do the same thing.

  • 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: Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more. | | 2021-10-16
  • 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: Better Error Handling for Your Spring Boot REST APIs | | 2021-04-20

    For that already exists. Which also follows the Problem standard.

  • 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: Hacktoberfest 2021 is Here👩‍💻 🧑‍💻 👨‍💻! | | 2021-10-02


  • GitHub repo JsonUnit

    Compare JSON in your Unit Tests

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-10-16.


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

Project Stars
1 fastjson 23,816
2 Gson 20,127
3 jjwt 7,823
4 Moshi 7,675
5 jsonschema2pojo 5,581
6 REST Assured 5,537
7 WireMock 4,662
8 LoganSquare 3,242
9 jackson-databind 2,904
10 Jackson 1,985
11 logstash-logback-encoder 1,938
12 protostuff 1,711
13 schema-registry 1,616
14 FST 1,407
15 jsoniter 1,350
16 hibernate-types 1,346
17 proteus 1,211
18 manifold 1,106
19 typescript-generator 816
20 DSL-JSON 754
21 problem-spring-web 746
22 sirix 682
23 JsonUnit 602
Find remote jobs at our new job board There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives