jsonxx
jsonxx copied to clipboard
A JSON parser in C++
How can I iterate an array or object? like STL: iterator::it
Hi, I'm the maintainer of the `jsonxx` package for [`build2`](https://build2.org/) (see https://cppget.org/jsonxx?q=jsonxx and https://github.com/build2-packaging/jsonxx). (I had to package it because it was used in a project at work which buildsystem...
Right now the jsonxx::Number encompass both the floating point and integer values. This causes problems when I want to put that number as string. Specifically, I would want to avoid...
source json String is {"now":[{"action":6,}]}, but after parse,result is {"action":2.086006742350501e-309},
This would make writing JSON so much easy. Or even something like `object.add( "key", "value")` so we dont have to use `object
I think it might be worth using std::string_view as a view into one large std::string that contains the whole document when parsing. This way there will only be 1 memory...
Hey there, I'm using jsonxx for a project of mine, and I had a need for ordered object keys. I noticed here that you were intending on doing this: https://www.reddit.com/r/cpp/comments/1g40mu/jsonxx_is_a_lightweight_json_parser_writer_and/...
Hi there, I fixed parsing from std::cin. The problem was in tellg/seekg that break std::cin (and it looks they are not required at all, so I removed them). You can...
https://github.com/miloyip/nativejson-benchmark/blob/master/sample/conformance_hjiang_JSON%2B%2B%20(C%2B%2B).md
Why I get this error? What does it mean? ``` log [JSONXX] expression 'has(key)' failed at ../includes/jsonxx/jsonxx.h:367 -> program_app ../includes/jsonxx/jsonxx.cc:29: void jsonxx::assertion(const char*, int, const char*, bool): Assertion `0' failed....