ibireme/yyjson

The fastest JSON library in C

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 47 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 17th, 2026
Created on October 8th, 2020
Open Issues & Pull Requests: 37 (+0)
GitHub issues: Enabled
Number of forks: 344
Total Stargazers: 3,880 (+0)
Total Subscribers: 68 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.6 hours
Mean response time: 2.5 days
90th percentile: 46.3 hours
Tracked items: 65

Most active contributors

Sign in to see contributor activity.

How this project is maintained

100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 64% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 24
New in 7 days: 2
Closed in 7 days: 4
Avg open age: 343 days
Stale 30+ days: 24
Stale 90+ days: 22

Recent activity

Opened in 7 days: 2
Closed in 7 days: 4
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (14)
  • discussion (7)
  • documentation (7)
  • bug (2)
  • compability (1)

Detailed Description

yyjson is a JSON parsing and serialization library written in ANSI C that prioritizes performance across diverse hardware platforms.

The library addresses the need for fast JSON processing in C applications by implementing a high-performance parser and serializer that can handle gigabytes of data per second. It achieves this speed while maintaining strict RFC 8259 compliance, ensuring correct number formatting and UTF-8 validation. The tool supports both reading and writing operations, with particular strength in in-situ parsing where the input buffer is modified during parsing. It includes support for JSON Pointer, JSON Patch, and JSON Merge Patch standards for querying and modifying parsed data, and offers optional JSON5 feature support for extended syntax compatibility.

The library suits projects where C integration is required and performance matters, particularly embedded systems and high-throughput server applications. Its single-file integration model—requiring only one header and one source file—makes adoption straightforward with minimal build complexity. The tool's ANSI C compliance ensures portability without relying on SIMD instructions, though this means it trades some potential speed for broader hardware compatibility. Developers should be aware that element access by index or key is slower than iterator-based traversal due to the underlying data structure design, and that parsed results are immutable, requiring explicit copying for modifications. The README notes that simdjson's On Demand API performs better when JSON field structure is known at compile time, though direct performance comparisons in the provided benchmarks focus on DOM API usage.

Development activity shows consistent attention to performance validation across multiple platforms and architectures, with benchmark reports covering Intel, AMD, ARM, and Apple processors. The project maintains a dedicated benchmark repository with interactive performance charts and tests across different compilers and operating systems. Documentation is comprehensive, including detailed API reference and performance analysis, indicating sustained effort toward clarity and usability.