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
- Reject nested indefinite-length CBOR string chunks
- reject out-of-range array index in const json_pointer access
- Avoid allocating temporary basic_json for cbor and msgpack object keys
- to_bson() is O(size × nesting depth), not linear as documented
- BSON reader accepts input the spec forbids (array keys, boolean bytes, subtype 0x02) without documenting the leniency
- CBOR: cbor_tag_handler_t::ignore does not ignore tags 0-5 and 21-23 (head bytes 0xC0-0xC5, 0xD5-0xD7)
- CBOR: cbor_tag_handler_t::store rejects documents that ignore accepts, and drops tag numbers 6-20
- 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
- Docs
- C++ not yet supported