alibaba/fastjson2

🚄 FASTJSON2 is a Java JSON library with excellent performance.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 28 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 15th, 2026
Created on April 17th, 2022
Open Issues & Pull Requests: 802 (+0)
GitHub issues: Enabled
Number of forks: 612
Total Stargazers: 4,413 (+0)
Total Subscribers: 31 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 25.5 hours
Mean response time: 21.6 days
90th percentile: 41.0 days
Tracked items: 604

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Roughly one issue in three opened in the past year never receives a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in about 15 hours, while "fixed" waits about 4 days. 53% of tracked open issues have had no activity in three months. Only 30% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 377
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 408 days
Stale 30+ days: 345
Stale 90+ days: 282

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 6
Events in 7 days: 10

Top labels

  • bug (524)
  • fixed (188)
  • question (133)
  • enhancement (63)
  • wontfix (2)
  • android (1)
  • documentation (1)

Detailed Description

Fastjson2 is a high-performance JSON library for Java designed as the next-generation successor to Fastjson, optimized for parsing and serializing JSON data with significantly faster performance than competing libraries.

The library addresses the need for efficient JSON processing by implementing optimized parsing and serialization algorithms. It supports both JSON text format and JSONB, a binary protocol, allowing developers to choose the format best suited to their use case. The tool provides full document parsing capabilities as well as selective extraction through JSONPath queries compatible with SQL:2016 syntax, enabling efficient data retrieval without parsing entire documents.

Fastjson2 suits projects requiring high-throughput JSON processing across diverse environments. It is optimized for modern Java versions including JDK 8, 11, 17, and 21, with specific support for compact strings, Records, and Vector API features. The library runs on Java servers, Android 8 and later, and big data platforms. It includes first-class Kotlin support with idiomatic extensions and DSL-style APIs for Kotlin projects. The tool provides built-in JSON Schema validation and is compatible with GraalVM Native Image compilation. Security is prioritized with AutoType disabled by default and no hardcoded whitelists. A compatibility module exists for migration from Fastjson 1.x, though complete compatibility is not guaranteed and testing is recommended.

The project maintains active development with regular updates addressing performance optimization and feature expansion. The codebase demonstrates sustained engineering effort focused on supporting multiple Java versions and platforms. Documentation is comprehensive, covering quick start guides, advanced usage patterns, and migration paths from earlier versions. The project accepts community contributions and maintains an issue tracker for bug reports and feature requests.