json icon indicating copy to clipboard operation
json copied to clipboard

JSON for Modern C++

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

Usually when one of template parameters is changed, reference to new type cannot be implicitly converted to reference to old type. However for some reason this is not true for...

kind: bug
state: help needed

#### What is the issue you have? In [this test](https://github.com/nlohmann/json/blob/develop/test/src/unit-json_patch.cpp#L181) A simple remove is expected as a diff. But the following exemple is not following the expected behavior: Old JSON:...

state: please discuss

As discussed in https://github.com/nlohmann/json/pull/3444#discussion_r857072525, we currently have no single place to collect all things deemed to wait until the next breaking change. The goal for this issue is to have...

documentation

This has been factored out of #3446 but builds upon that PR and needs to be rebased. Originally, I was looking for a workaround to be able to use `std::ranges::sort()`...

Hello, I stambled accross this clang-tidy warning in my project and investigated further, `it` being a `json::const_iterator`: ``` the parameter 'it' is copied for each invocation but only used as...

A proposed unit test for `unit-alt-string.cpp` contained the following code: ``` alt_json j = R"( { "foo": ["bar", "baz"] } )"_json; ``` This conversion compiles but fails to produce the...

kind: bug

Hi This pull request add support in the _sax parser_ and in the _msgpack deserializer_ for **object key** of types: - null - boolean - unsigned - integer - float...

L
tests

#### What is the issue you have? I'm trying to parse msgpack data like: ``` { null: 1 } ``` which serializes as `81 C0 01`. But `nlohmann::json::from_msgpack` failed to...

kind: bug
state: please discuss
aspect: binary formats

Check if all jobs in AppVeyor are needed. AppVeyor is much slower as GitHub Actions. - [ ] Remove jobs that can also be executed in GitHub Actions. - [...

state: help needed

Currently parsing CBOR with this library can only handle string keys. At the project I am working on, we want to use integer keys to reduce the size of our...

aspect: binary formats