json
https://github.com/nlohmann/json
C++
JSON for Modern C++
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
C++ not yet supported43 Subscribers
View all SubscribersAdd a CodeTriage badge to json
Help out
- Issues
- CBOR: nested indefinite-length strings/byte strings are accepted (RFC 8949 3.2.3 requires definite-length chunks)
- to_cbor()/to_msgpack() allocate a temporary basic_json for every object key
- to_msgpack() silently emits corrupt output (or reads out of bounds) above the documented 4294967295 size limit
- Ideas: exploring ways to reduce compilation time
- Idea: borrowed / zero-copy read-only view over a source buffer
- Idea: lossless number round-tripping (raw / arbitrary-precision number mode)
- Idea: canonical / deterministic serialization (RFC 8785 JCS)
- Idea: arena / PMR document mode (O(1) teardown, allocation-free destruction)
- Fix stack overflow in binary format parsers (CBOR/MessagePack/UBJSON/BSON)
- Stack overflow in binary format parsers (CBOR/MessagePack/UBJSON/BSON) due to unbounded recursion
- Docs
- C++ not yet supported