+5
日增长
+69
周增长
+157
月增长
24,568
stars
1,362
forks
241
watchers
1,902
prs
963
issues
129
releases
README
[![][license img]][license] [![][licensemit img]][licensemit] simdjson : Parsing gigabytes of JSON per second =============================================== JSON is everywhere on the Internet. Servers spend a lot of time parsing it. We need a fresh approach. The simdjson library uses commonly available SIMD instructions and microparallel algorithms to parse JSON 4x faster than RapidJSON and 25x faster than JSON for Modern C++. Fast: Over 4x faster than commonly used production-grade JSON parsers. Record Breaking Features: Minify JSON at 6 GB/s, validate UTF-8 at 13 GB/s, NDJSON at 3.5 GB/s. Easy: First-class, easy to use and carefully documented APIs. Strict: Full JSON and UTF-8 validation, lossless parsing. Performance with no compromises. Automatic: Selects a CPU-tailored parser at runtime. No configuration needed. Reliable: From memory allocation to error handling, simdjson's design avoids surprises. Peer Reviewed: Our research appears in venues like VLDB Journal, Software: Practice and Experience. Table of Contents ----------------- Real-world usage Quick Start Documentation Godbolt Performance results Packages Companion libraries Bindings and Ports of simdjson About simdjson Funding Contributing to simdjson License Real-world usage ---------------- - Node.js - ClickHouse - Meta Velox - Google Pax - milvus - QuestDB - Clang Build Analyzer - Shopify HeapProfiler - StarRocks - Microsoft FishStore - Intel PCM - WatermelonDB - Apache Doris - Dgraph - UCall - fastgltf - tenzir - ada-url - fastgron - WasmEdge - RonDB - GreptimeDB - mamba - Ladybird Browser - SereneDB - YDB - ByConity - Timeplus Proton - TiFlash - ata-validator - Apache Arrow - Groonga - Elasticsearch - Wazuh - YTsaurus - Alibaba LoongCollector - ByteDance Bolt - OpenMLDB - CLP - Estuary Flow - Axmol Engine - OpenModelica - NVIDIA Vulkan Video Samples - Adapty iOS SDK - SlimeVR OpenVR Driver If you are planning to use simdjson in a product, please work from one of our releases. Quick Start ----------- The simdjson library is easily consumable with a single .h and .cpp file. 0. Prerequisites: g++ (version 7 or better) or clang++ (version 6 or better), and a 64-bit system with a command-line shell (e.g., Linux, macOS, freeBSD). We also support programming environments like Visual Studio and Xcode, but different steps are needed. Users of clang++ may need to specify the C++ version (e.g., c++ -std=c++17) since clang++ tends to default on C++98. 1. Pull simdjson.h and simdjson.cpp into a directory, along with the sample file twitter.json. You can download them with the wget utility: wget https://raw.githubusercontent.com/simdjson/simdjson/master/singleheader/simdjson.h https://raw.githubusercontent.com/simdjson/simdjson/master/singleheader/simdjson.cpp https://raw.githubusercontent.com/simdjson/simdjson/master/jsonexamples/twitter.json 2. Create quickstart.cpp: cpp include include "simdjson.h" using namespace simdjson; i
Top issues
#2070Add full support for JSONPath36 comments · 2023-09-26#1017Accept custom memory allocators (std::allocator)18 comments · 2020-07-01#670Scan input (stage 1) in fixed-size batches16 comments · 2020-04-02#2552Performance: Method to reduce key compare times15 comments · 2025-12-12#2683Support for Arm Scalable Vector Extension (SVE/SVE2)13 comments · 2026-04-16#1136add support for CSV files13 comments · 2020-08-20#1341Support conversion of simdjson_result lvalue to dom::element12 comments · 2020-12-11#442Experiment with a "process by small blocks" strategy11 comments · 2020-01-13
Discussions
#3012vcpkg package update delay1 comments · 2026-11-02#2880What is the timeline for the next minor version release?1 comments · 2026-09-24#2794Faster write_string_escaped (roughly +13% throughput on twitter.json)0 comments · 2026-07-27#2681Why is `simdjson.h` almost 3× as large as `simdjson.cpp`?2 comments · 2026-04-15#2668Apple ARM macOS issues0 comments · 2026-04-08#2642Handle BIGINT_ERROR failure on DOM Parse0 comments · 2026-03-23#2624simdjson and FileMapping4 comments · 2026-03-11#2612object iteration and CPU detection issue with 4.3.110 comments · 2026-02-23
Latest release
Version 5.2.0 v5.2.0 2026-11-15What's Changed README: add companion libraries section by @lemire in https://github.com/simdjson/simdjson/pull/3010 lsx, lasx: fix inverted simd8::any() by @mvanslobbe in https://github.com/simdjson/simdjson/pull/3011 ondemand: user-provided default constructors by @lemire in https://github.com/simdjson/simdjson/pull/3017 dom: do not zero the 64-byte small buffer of every string_builder by @lemire in https://github.com/simdjson/simdjson/pull/3016 ondemand: drop redundant per-type map deserializers by @Hrushikesh-ramilla in https://github.com/simdjson/simdjson/pull/3015 westmere, ppc64: f