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
·
alibaba avatar

alibaba/fastjsonArchived

0
View on GitHub↗
25,625 stars·6,409 forks·Java·Apache-2.0·14 viewsgithub.com/alibaba/fastjson2/wiki/fastjson_1_upgrade_cn↗

Fastjson

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 define specific object representations.

Features

  • JSON Serialization Libraries - Provides high-performance capabilities to transform JSON strings into typed Java objects.
  • JSON Data Parsers - Transforms JSON strings back into typed Java objects by mapping data structures to specific classes.
  • JSON Parsers - Functions as a high-performance JSON parser capable of transforming JSON strings into data structures.
  • High-Performance Parsers - Optimizes JSON processing for speed and minimal memory overhead to handle large data volumes.
  • JSON - Implements streaming parsers to incrementally process oversized JSON datasets and prevent memory exhaustion.
  • Memory-Efficient Streaming - Prevents application memory exhaustion by streaming oversized JSON objects and texts through a processing pipeline.
  • Direct Buffer Processing - Processes large JSON datasets using direct memory buffers to minimize heap allocation and prevent memory exhaustion.
  • Data Binding Frameworks - Acts as a Java data binding framework that maps JSON data to Java classes using annotations.
  • Object Representation Mapping - Enables the definition of specific object representations to maintain consistent data structures during JSON conversion.
  • Custom Field Mapping - Controls precisely which object fields appear in the JSON output through annotations and custom date formatting.
  • Output Filtering - Allows filtering specific fields using annotations to determine exactly which data appears in the final JSON structure.
  • Field Mapping Optimizations - Implements bytecode-based field mapping to avoid the performance overhead of repeated reflection calls.
  • Serialization Control - Provides annotation-driven control over field visibility and output formatting during JSON serialization.
  • Circular Reference Detection - Prevents infinite loops during serialization by tracking object identity hashes for self-referencing data structures.
  • Generic Type Resolution - Ensures correct object instantiation for nested collections by resolving complex generic type arguments during deserialization.
  • Databases and Storage - High-performance Java JSON parsing and serialization library.
  • JSON - 功能完善且性能卓越的JSON处理库。
  • JSON Processing - Fast JSON processor with minimal dependencies.
  • Code Quality and Patterns - High-performance JSON processing library for Java.
  • Java and JVM Ecosystem - Library for converting Java objects to JSON.
  • ProGuard Configurations - Provides JSON parsing configuration rules.

Star history

Star history chart for alibaba/fastjsonStar history chart for alibaba/fastjson

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Fastjson

Similar open-source projects, ranked by how many features they share with Fastjson.
  • 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

    C++
    View on GitHub↗15,095
  • 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

    hacktoberfestjacksonjava-json
    View on GitHub↗9,740
  • 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

    Kotlin
    View on GitHub↗10,138
  • bytedance/sonicbytedance avatar

    bytedance/sonic

    9,492View on GitHub↗

    Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data structures. It functions as a JIT-accelerated encoder, a JSON AST parser, a stream processor, and a lazy decoder. The project utilizes just-in-time machine code generation to optimize the encoding of large data schemas and employs a JIT assembler to maximize serialization and deserialization speeds. It features a precompiled schema warmup process to prevent latency spikes during initial execution and leverages SIMD hardware instructions for accelerated parsing. The library cove

    Gohigh-performancejitjson
    View on GitHub↗9,492
See all 30 alternatives to Fastjson→

Frequently asked questions

What does alibaba/fastjson do?

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.

What are the main features of alibaba/fastjson?

The main features of alibaba/fastjson are: JSON Serialization Libraries, JSON Data Parsers, JSON Parsers, High-Performance Parsers, JSON, Memory-Efficient Streaming, Direct Buffer Processing, Data Binding Frameworks.

What are some open-source alternatives to alibaba/fastjson?

Open-source alternatives to alibaba/fastjson include: miloyip/rapidjson — RapidJSON is a high-performance C++ library used for parsing and generating JSON data. It provides both document… fasterxml/jackson — Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into… square/moshi — Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder… bytedance/sonic — Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data… tidwall/gjson — gjson is a Go JSON parser designed for schema-less reading and value extraction. It allows for the retrieval of… swiftyjson/swiftyjson — SwiftyJSON is a Swift JSON parsing library and data wrapper designed to simplify the reading and manipulation of JSON…