KO
|
EN
gitlite โ search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
c-json-parser
โ 25
Open GitHub โ
Simple json parser
Download README (.md)
Explore Similar Repositories
FOOTPASS
:
Baselines for the SoccerNet Player-Centric Ball-Action Spotting Challenge 2026
St0r
:
St0r is a addon web gui for Urbackup Server | Project managed by MIA the GSD ๐พ
york
:
No description available.
oas3-gen
:
Rust OpenAPI 3.1 Type Generator
Luma11y
:
Colour contrast analyser tool
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
c-json-parser
?
Download (.md)
# [C JSON parser](https://github.com/default-writer/c-json-parser) - lightning-fast implementation of a JSON parser - added JSON validation - easy to read, learn and implement - c17 ready / c89 compatible ## performance - significantly faster compared to [json-c](https://github.com/json-c/json-c) - a little bit faster than [simdjson](https://github.com/simdjson/simdjson) - supports [RFC 8259](https://datatracker.ietf.org/doc/html/rfc8259) - supports SSE2 ## [data](data/test.json) - 272 ms - 3846 bytes in a test data ## badges [](https://github.com/default-writer/c-json-parser/actions/workflows/codeql.yml) ## Speed comparison | Metric | simdjson | c-json-parser(*) | c-json-parser | json-c | | :---------------------------------------| ------------------: | ------------------: | ------------------: | ------------------: | | execution time (100K run) | 00:00:00.476 | 00:00:00.228 | 00:00:00.272 | 00:00:04.093 | | execution time (1M runs) | 00:00:04.798 | 00:00:00.930 | 00:00:00.945 | 00:00:42.702 | | allocation calls (100K runs) | - | 0 | 0 | 52,900,000 | | allocation calls (1M runs) | - | 0 | 0 | 529,000,000 | | total heap usage (100K runs) | - | 0 | 0 | 4,179,600,000 | | total heap usage (1M runs) | - | 0 | 0 | 41,796,000,000 | (*) - version without string literal validation (`./perf.sh perf-c-json-parser-no-string-validation`) ## docs - [basics](docs/data-structures.md) ## screenshots  ## tools Ninja + Clang ## prerequisites ```bash sudo apt install -y git cmake clang clang gcc g++ lld ``` ## build ```bash ./build-c-json-parser.sh ``` ## profiling ```bash ./gprof.sh ``` ## test ```bash ./test.sh ``` ## runtime / performance ```bash ./perf.sh ./perf.sh perf-c-json-parser ./perf.sh perf-c-json-parser-long ./perf.sh perf-c-json-parser-no-string-validation ./perf.sh perf-c-json-parser-no-string-validation-long ``` ## installation [simdjson](https://github.com/simdjson/simdjson) / [json-c](https://github.com/json-c/json-c) ```bash ./bin/install_json_c.sh ./bin/install_simdjson.sh ``` ## build [simdjson](https://github.com/simdjson/simdjson) / [json-c](https://github.com/json-c/json-c) ```bash ./build-json-c.sh ./build-simdjson.sh ```