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 I was running `patch` over a ~100Mb repodata file and noticed that it was slow due to copying and destroying the entire object multiple times. I am quite...

kind: bug

### Description I was hoping it would be possible to set `NumberIntegerType` and `NumberUnsignedType` (putting aside #2573 for now) to an arbitrary precision integer type ("big integers"), such as on...

kind: bug

### Description I'm using `MSVC 2022` with `/std:c++20`. I'm trying to import `single_include` version `3.10.5` into my module interface file (`*.ixx`). ``` import ; ``` However, I am receiving an...

kind: bug
platform: visual studio

### Description Hi All, JSON failed to run test 'test-diagnostics_cpp11','test-json_pointer_cpp11' and 'test-unicode1_cpp11'on release configuration with MSVC on windows x64. Could you please help look at this issue or provide some...

kind: bug
platform: visual studio

Here is possible solution (or workaround) for issues in PR #2117, #2213. The problem is caused by "wrong" user defined conversion selected by overload resolution. Compiler selects a converting constructor...

please rebase
L
tests

I propose new method `json.try_get()`, which works similar to `json.get()`. It can be extended by providing `adl_serializer::try_deserialize()` function. Unlike `get` method, the return type of `try_get` is assumed to have...

state: please discuss

This PR adds support for the BON8 binary format. See #2980. Todo: - [x] add parser - [ ] increase coverage - [ ] add examples from other binary formats...

aspect: binary formats

This PR requires #3110. This PR enables a sax parser to get additional information about line, column and byte position of a token from a parsed input (e.g. file). This...

documentation
L
tests
CMake

add support for from_json/to_json member function. for a example: ``` using nlohmann::json; class A { private: int a; public: void from_json(const json&){...} void to_json(json&) const {...} } void fun(){ A...

please rebase

The current implementation accepts conversion of JSON arrays to fixed size containers like std::array, std::pair or std::tuple, as long as there are sufficient elements in the JSON array to fill...

please rebase