Jzon icon indicating copy to clipboard operation
Jzon copied to clipboard

C++ JSON Parser

Results 11 Jzon issues
Sort by recently updated
recently updated
newest added

the code ``` Jzon::Node array = Jzon::array(); .... Jzon::Node::const_iterator it = array.begin(); ``` gave me the error ``` conversion from `Jzon::Node::iterator` to non-scalar type `Jzon::Node::const_iterator` requested ```

Add missing getter for unsigned long long and long long, in "ToXXX" family of methods. Currently there are none, i had to manually add them

-Added `const char *` parameter to parts of the interface to allow for the option of preventing temp strings from being created -Added `move` operations to several locations where they...

I discovered that control characters were not escaped properly when written to file. It seems to me that as long as strings are in memory (C strings or std::string) the...

I'm having a JSON like below ` { "String1":"Hello", "Array1":[ [0.1, 0.2, 0.3], [0.4, 0.5, 0.6], [0.7, 0.8, 0.9] ], "Array2":[ [0.7, 0.8, 0.9], [0.1, 0.2, 0.3], [0.4, 0.5, 0.6]...

Needed it for my usage, figured it might be useful to others. Allows JSON output to be done incrementally.

https://github.com/miloyip/nativejson-benchmark/blob/master/sample/conformance_Jzon%20(C%2B%2B).md

There may be the situation when `node` have `isValue() = true` and `isNumber() = false`. In this case `toNumber()` get default value, but it can transform to number.

``` Jzon::Node obj = Jzon::object(); obj.add("a", "hello"); obj.add("a", "buy"); obj.remove("a"); ``` it remove only first occurence of "a". The last remain in object.