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

- update Python requirements - fix style warnings - fix links - update navigation - replace PlantUML by Mermaid - add customer section to README - extend documentation of `parse`...

documentation
review needed
L
CI
CMake

## Abstract Referring to issue #4358 , this pull request make some changes that causes implicit conversions from various integer types (listed here - https://godbolt.org/z/7Wrh6EanW) to boolean to fail. Now,...

M

Do not throw an exception when trying to get default value from empty json fix the issue #4507 ``` class Foo { public: NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT(Foo, a, b) Foo() = default; int...

S

Hi, it's been a while. Just connected to Github and saw the optional-related issue, tests pass with `-DJSON_ImplicitConversions=OFF`.

S
tests

### Description I have a string, which is about 10MB in memory. However, when I use json::parse(), the memory cost is 1.6GB. I wonder if it's a bug? ### Reproduction...

kind: bug
state: needs more info

### Description This is yet another issue about inconsistent/unexpected behaviour of accessing elements using `[]`. I believe that this problem is well-known to the library authors as it was discussed...

kind: enhancement/improvement
state: please discuss

### Description NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT should not throw an exception when the json instance is empty and should use the default values of the member fields ### Reproduction steps run the Minimal...

kind: bug
solution: proposed fix

Try to reproduce #4440.

M
tests