-
typedef struct cJSON {
struct cJSON *next, *prev;
struct cJSON *child;
int type;
char *valuestring;
int valueint;
double valuedouble;
char *string;
} cJSON;
size…
-
I try this:
``` lua
c.shared{'cjson', ....
needs='lua',
lua = {"luaopen_cjson", "luaopen_cjson_safe"};
}
```
but lake use only first function.
Also libflags and flags still do not support arra…
-
While compiling cJSON on Red Hat GNU/Linux 6 gcc reported a name conflict error. This happened only with enhanced gcc flags for diagnostics we typically use to compile packages. For what it is worth h…
-
-
Here is the content of json file
```
{
"1": "1",
"2": "2",
"3": "3",
"4": "4"
}
```
here is my code
```
local cjson = require "cjson"
local function load_file(user_conf_fil…
-
**UPDATE:** Current plans are described [here](https://github.com/DaveGamble/cJSON/issues/177#issuecomment-363138476)
In https://github.com/DaveGamble/cJSON/issues/175#issuecomment-304811029 I was …
-
Hi,
Using lua v5.1 and lua-cjson v2.1.0.6-1.
Why `print(cjson.decode(cjson.encode({success = true})))` results in `""` (an empty line) and not `{success = true}`?
What am I missing?!
Thanks!
…
-
Hi,
UBSAN reported an error in cJSON_SetNumberHelper.
```
/data/home/loydlv/vbd/llm_fuzz/output/build/cjson/src/cjson/cJSON.c:394:28: runtime error: nan is outside the range of representable v…
-
Hi,
I am using the CJSON library for the PIC24FJ micro-chip device for the application. I found that cJSON_CreateNumber() failed with the larger number creation.
I have a posted problem with mi…
-