awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Java JSON Libraries

Ranking updated Jul 13, 2026

For a high performance JSON library for Java, the strongest matches are alibaba/fastjson2 (This library provides a comprehensive suite for Java JSON), alibaba/fastjson (This library is a high-performance Java framework that provides) and fasterxml/jackson (Jackson is the industry-standard Java library for JSON processing). google/gson and stleary/json-java round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best java json libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

Java JSON Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • alibaba/fastjson2alibaba avatar

    alibaba/fastjson2

    4,307View on GitHub↗

    fastjson2 is a high-performance Java library used for serializing and deserializing Java objects to and from JSON strings and byte arrays. It functions as a binary JSON serializer for encoding objects into optimized binary formats to reduce payload size and increase processing speed. The project includes a JSONPath query engine for extracting specific data and fields from JSON documents using standardized path expressions and filters. It also serves as a JSON schema validator, providing utilities to generate data contracts and validate JSON input against defined schemas to ensure structural c

    This library provides a comprehensive suite for Java JSON processing, including data binding, streaming, tree-like querying via JSONPath, and schema validation, all optimized for high-performance serialization.

    JavaJSON Schema ValidationJSON-to-Object Mappers
    View on GitHub↗4,307
  • alibaba/fastjsonalibaba avatar

    alibaba/fastjson

    25,625View on GitHub↗

    Fastjson is a Java data binding framework and serialization library designed to convert objects to JSON strings and parse JSON data into typed objects. It functions as a JSON parser and stream processor capable of transforming JSON strings into data structures. The project emphasizes high performance JSON processing and memory management, specifically through the use of a pipeline to stream oversized JSON objects and texts to prevent memory exhaustion. It provides capabilities for JSON data serialization and deserialization workflows, including custom JSON data mapping and the ability to def

    This library is a high-performance Java framework that provides comprehensive data binding, streaming, and tree-model manipulation for JSON, directly addressing all the core requirements for efficient serialization and parsing.

    JavaJSON Serialization Libraries
    View on GitHub↗25,625
  • fasterxml/jacksonFasterXML avatar

    FasterXML/jackson

    9,740View on GitHub↗

    Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into native language objects. It functions as a JSON data binding library and a streaming parser that reads and writes data as discrete tokens to process large datasets with minimal memory. The project distinguishes itself through a bytecode serialization accelerator that replaces standard reflection with generated bytecode to increase data binding speed. It employs a module-based extensibility model to support a wide range of formats beyond JSON, including XML, YAML, CSV, TOML, and bin

    Jackson is the industry-standard Java library for JSON processing, providing comprehensive support for data binding, streaming, tree models, and schema validation with high-performance optimizations.

    JSON-SchemaJSON Serialization Libraries
    View on GitHub↗9,740
  • google/gsongoogle avatar

    google/gson

    24,357View on GitHub↗

    Gson is a Java library designed for the serialization and deserialization of objects into structured text formats. It functions as a reflection-based data mapper, inspecting class structures at runtime to automatically convert memory-resident objects into data representations and reconstruct them back into typed language objects. The library distinguishes itself through a modular type-adapter pattern that allows for custom conversion rules for complex or nested structures. It also provides robust support for production environments by generating build-time metadata and configuration rules, wh

    Gson is a widely-used Java library that provides robust data binding and serialization capabilities, though it lacks the native tree model and schema validation features found in more comprehensive JSON processing suites.

    JavaStreaming ParsersJSON Serialization Libraries
    View on GitHub↗24,357
  • stleary/json-javastleary avatar

    stleary/JSON-java

    4,717View on GitHub↗

    JSON-java is a Java library for parsing and generating JSON text and mapping it to Java objects and collections. It functions as a serialization framework for converting class instances and data structures into standardized JSON strings. The project includes a JSON pointer implementation for retrieving specific values from documents using string or URI fragment representations. It also provides a converter for translating data structures between JSON and XML, as well as a translator for transforming data between JSON and web formats such as HTTP headers, cookies, and comma-delimited lists. T

    This library provides essential JSON parsing, generation, and object mapping capabilities, though it lacks the comprehensive annotation support and schema validation features found in more robust enterprise-grade alternatives.

    JavaJSON-to-Object Mappers
    View on GitHub↗4,717
  • fasterxml/jackson-databindFasterXML avatar

    FasterXML/jackson-databind

    3,729View on GitHub↗

    Jackson-databind is a Java serialization framework and JSON data binding library used to convert Java objects to JSON and vice versa. It functions as a JSON streaming API that generates and parses content as a sequence of tokens, and as a hierarchical data tree mapper that reads data into a node structure for dynamic modification without predefined classes. The project provides a structured mapping process to bind data to objects, allowing for the transformation of complex Java objects into data formats and the reconstruction of objects from those formats. It supports custom data format mappi

    Jackson-databind is the industry-standard Java library for JSON processing, providing comprehensive support for data binding, streaming, tree models, and annotation-driven configuration.

    JavaJSON and Data ParsingToken-Based Streaming ParsersData Format Converters
    View on GitHub↗3,729
  • square/moshisquare avatar

    square/moshi

    10,138View on GitHub↗

    Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder that converts typed objects to JSON strings and parses JSON data back into language objects. The library distinguishes itself through compile-time adapter generation, which removes the performance overhead associated with runtime reflection. It also provides a polymorphic JSON mapper that uses type identifiers to resolve and instantiate specific subclasses of a common base type. The framework supports custom adapter definitions for specialized type conversion, including nullabi

    Moshi is a high-performance, reflectionless JSON library for Java and Kotlin that provides robust data binding and streaming capabilities, though it lacks built-in schema validation.

    KotlinJSON Serialization Libraries
    View on GitHub↗10,138
  • json-iterator/javajson-iterator avatar

    json-iterator/java

    1,566View on GitHub↗

    This library is a high-performance JSON processing tool for Java designed to handle data serialization and deserialization with minimal resource consumption. It provides a framework for transforming complex object graphs into JSON strings and mapping raw input directly to typed class properties. The library distinguishes itself by utilizing compile-time code generation and reflection-free mapping to eliminate expensive runtime overhead. By employing iterator-based stream parsing and zero-allocation buffer management, it processes large or deeply nested data structures while reducing garbage c

    This library provides high-performance JSON parsing and serialization with support for data binding and a streaming API, making it a strong choice for Java developers focused on speed.

    JavaJSON Serialization Libraries
    View on GitHub↗1,566
  • joelittlejohn/jsonschema2pojojoelittlejohn avatar

    joelittlejohn/jsonschema2pojo

    6,379View on GitHub↗

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

    This is a code-generation tool that creates Java POJOs from JSON schemas to facilitate data binding, rather than a library for parsing, serializing, or manipulating JSON data at runtime.

    JavaJackson Data-Binding AnnotationsJackson Data-Binding AnnotationsJackson-Gson Annotation Generators
    View on GitHub↗6,379
  • stoplightio/spectralstoplightio avatar

    stoplightio/spectral

    3,012View on GitHub↗

    Spectral is a programmable linting engine and validation tool designed to enforce style guidelines and schema correctness within OpenAPI specifications and JSON configuration files. It functions as a rule-based validator that analyzes structured text files to ensure data consistency and adherence to predefined constraints. The engine utilizes a configuration-driven execution model, allowing users to manage pluggable rule sets and integrate JSON Schema definitions. It supports the creation of custom function-based rules to define complex validation logic beyond static declarations. The projec

    This is a linting and validation engine for API specifications rather than a general-purpose Java library for parsing, serializing, and data binding JSON in application code.

    TypeScriptJSON Schema ValidationJSON-Schema
    View on GitHub↗3,012
  • miloyip/rapidjsonmiloyip avatar

    miloyip/rapidjson

    15,095View on GitHub↗

    RapidJSON is a high-performance C++ library used for parsing and generating JSON data. It provides both document object model and stream-based interfaces to transform JSON strings into structured data and vice versa. The library includes a JSON schema validator to verify that documents conform to predefined rules and a Unicode transcoder for converting strings between UTF-8, UTF-16, and UTF-32 encodings. It also supports relaxed parsing for non-standard JSON containing comments or trailing commas. Additional capabilities cover JSON pointer navigation for locating specific values and string s

    This is a high-performance JSON library for C++, but it does not support the Java ecosystem required for your project.

    C++JSON-SchemaJSON Serialization Libraries
    View on GitHub↗15,095
  • google/flatbuffersgoogle avatar

    google/flatbuffers

    25,558View on GitHub↗

    FlatBuffers is a cross-platform serialization library designed for performance-critical applications that require efficient, zero-copy data access. By organizing data in a structured binary format, it allows applications to read and write complex data structures directly from memory-mapped buffers without the need for intermediate parsing or temporary object allocation. The project distinguishes itself through a schema-driven approach that balances high-performance access with long-term data evolution. It utilizes a unique memory layout featuring relative offsets and inline fixed-size structu

    This is a high-performance binary serialization format designed for zero-copy access, which differs from the standard JSON parsing and data-binding libraries typically used for text-based JSON manipulation.

    C++Zero-Copy Data AccessZero-Copy Data Access Libraries
    View on GitHub↗25,558
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
alibaba/fastjson24.3KJavaApache-2.0May 5, 2026
alibaba/fastjson25.6KJavaApache-2.0Jul 16, 2024
fasterxml/jackson9.7K——Jun 16, 2026
google/gson24.4KJavaapache-2.0Feb 15, 2026
stleary/json-java4.7KJavaNOASSERTIONJun 21, 2026
fasterxml/jackson-databind3.7KJavaApache-2.0Jun 23, 2026
square/moshi10.1KKotlinApache-2.0Jun 16, 2026
json-iterator/java1.6KJavaMITFeb 19, 2024
joelittlejohn/jsonschema2pojo6.4KJavaApache-2.0May 2, 2026
stoplightio/spectral3KTypeScriptapache-2.0Feb 20, 2026

Related searches

  • a high performance JSON library for Go
  • a high performance JSON library for C#
  • a high performance JSON parsing library
  • a high performance serialization library for Java
  • a lightweight json library for C++
  • a java library for making http requests
  • a JSON processor and query tool for the command line
  • a java library for data compression