cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

Ultralightweight JSON parser in ANSI C

Results 187 cJSON issues
Sort by recently updated
recently updated
newest added

Hi. I've encountered a problem with the `cJSON_Compare` function. When comparing two objects with duplicate members, comparison does not work as expected. ```c #include "stdio.h" #include "stdbool.h" #include "cjson.h" int...

Hello, Just want to announce that quicktype generator now support cJSON. This means you can generate cJSON compatible code from json or json schema very easily! I have just been...

Maybe I´m missing something, but if I install `cJSON` to a custom path, e.g. `/tmp/cJSON` and do a `find_package(cJSON REQUIRED)` in my project (and setting `CMAKE_MODULE_PATH` or similar method to...

Hello: I use CJSON for data parsing 1. The file is in JSON format. 2. The file size is 1KB. 3. cJSON_Parse, prompt stack overflow. A 1KB file is just...

The parser accepts the following invalid input: `{"\uzzzz":[]}` Character z is not a hex, therefore it should be rejected according to the json grammar. Can you please confirm this issue?...

cjson git master is not buildable with -Werror=strict-aliasing / -Wstrict-aliasing=2 ``` cJSON.c:353:59: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] 353 | number = strtod((const char*)number_c_string, (char**)&after_end); | ^~~~~~~~~~...