json icon indicating copy to clipboard operation
json copied to clipboard

A C++11 library for parsing and serializing JSON to and from a DOM container in memory.

Results 171 json issues
Sort by recently updated
recently updated
newest added

What is the best way to check if a given key exists in json? Json example { "1":{ "key":"A" } } I want to parse key `missingKey` but I do...

> To repeat what I said on Slack, now that tuple-likes are supported it looks like general maps (where the key is not string-like) would also start working (being treated...

Feature

> std::variant is relatively easy because what else would have .valueless_on_exception(). I suppose it would be accurate enough if you check for v.index(), v.valueless_on_exception() and visit(f, v)

Feature

The library should support `std::complex` natively

Feature

The branch ``` if(sp.is_not_shared_and_deallocate_is_trivial()) return; ``` is never tested.

Now that https://github.com/boostorg/json/pull/522 has added `std::hash` support for the JSON types, adding `hash_value` overloads that simply return the result of `std::hash` (or vice versa) will also enable support for `boost::hash`....

Fix #213

Performance

See https://app.codecov.io/gh/boostorg/json/compare/551/tree/include/boost/json/impl/serializer.ipp#D1L220 https://app.codecov.io/gh/boostorg/json/compare/551/tree/include/boost/json/impl/serializer.ipp#D1L339 The state is either untested, because the condition that leads to it is very rare, in which case it still should be recreated in tests. Or this...

See https://github.com/boostorg/json/issues/528#issuecomment-797602318

See https://www.reddit.com/r/cpp/comments/ika6ml/dragonbox_yet_another_floattostring_conversion/ https://drive.google.com/file/d/1luHhyQF9zKlM8yJ1nebU0OgVYhfC6CBN/view https://github.com/abolz/Drachennest