json.h icon indicating copy to clipboard operation
json.h copied to clipboard

🗄️ single header json parser for C and C++

Results 7 json.h issues
Sort by recently updated
recently updated
newest added

Great work so far. However one thing that would help tremendously is to have a (family of) utility function to look up values by a given key - right now...

# Environment ```bash Ubuntu22.04 LST Linux 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ``` json.h commit: 06aa5782d650e7b46c6444c2d0a048c0a1b3a072 # Vulnerability As we all know, each...

Hello, we found json.h to parse and serialize control characters below 0x20 which technically is in violation of the JSON grammar. We collected a minimum working sample [here](https://github.com/j-moeller/crossy-mws/tree/master/03-04-06-control-characters/json.h).

help wanted

It's pretty strange that this library defines all the weak symbols that it does. I can't think of a good reason for it, and I can think of many downsides......

Fixes #101 I saw this was still an issue so I thought of submitting the suggested workaround as a quick fix. It seems to fix the stack overflow on my...

Nice library! I really love how memory is handled there: - Computing the entire size upfront - Allocate a single block of memory - Do the actual parsing into that...

https://github.com/sheredom/json.h/actions/runs/18078787637/job/51439079550 ``` [ 4%] Building CXX object CMakeFiles/json_test.dir/allocator.cpp.o [ 8%] Building CXX object CMakeFiles/json_test.dir/allow_c_style_comments.cpp.o [ 12%] Building C object CMakeFiles/json_test.dir/allow_equals_in_object.c.o [ 16%] Building C object CMakeFiles/json_test.dir/allow_global_object.c.o [ 20%] Building C...