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

### Description Equal operator won't work with derived classes. ### Reproduction steps `class Cookie : public nlohmann::json`

kind: bug

### Description This is a behavioral change in nlohmann::json 3.11.3 compared to previous versions. Old code of mine started behaving differently. Output of the test program changed from: nlohmann::json 3.11.2...

kind: bug

[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.] Integrate MODULE.bazel from https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/nlohmann_json Then it shall be possible to publish...

S

### Description The pretty printer Python script for gdb, located at `tools/gdb_pretty_printer/nlohmann-json.py`, is broken since the addition of the `m_data` member in the json object. SOLUTION: The solution is to...

kind: bug

### Description Code sample std::string valStr = jsonvalprofile.serialize(); nlohmann::json profileval = nlohmann::json::parse(valStr); std::string valStr1 = jsonvalpatch.serialize(); nlohmann::json patchval = nlohmann::json::parse(valStr1); // patch the original json value with patch object result...

kind: bug

### Description In version 3.11.3 the underlying namespace seems to be `nlohmann::json_abi_v3_11_3`. But nlohmann_json.natvis is still written for `nlohmann::json_abi_v3_11_2`. ### Reproduction steps - Create sample project in Visual Studio. -...

kind: bug

Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...

documentation
S
dependencies

Fix gdb pretty printer to read value from correct position. Issue #4309. * * * ## Pull request checklist Read the [Contribution Guidelines](https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md) for detailed information. - [ ] Changes...

S

### Description Converting from `"value": true` or `"value": false` behaves unexpectedly and differently for certain integer types. I was expecting all conversions from a boolean true/false to integer value to...

kind: bug
state: please discuss

[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.] * * * ## Pull request checklist Read the [Contribution Guidelines](https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md)...

documentation
aspect: binary formats
M
tests