-
In openresty : 1.11.2.2
With LuaJIT: 2.1.0-beta2
Recently , we moved our app from a Cloud(AWS) to Other Cloud(For example: AliYun), we got a problem in our web app, which is cjson.safe.decode used…
-
With 2.0.0 let's try to get things right with the following breaking changes:
* [x] Use `size_t` instead of `int` for lengths
* [ ] Clean up the cJSON struct #63
* [ ] Remove `cJSON_InitHooks` i…
-
I think it should return true when the pointer is null
CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item)
{
if (item == NULL)
{
return true;
}
return (i…
-
这个写法编译器会提示warring:
if (!(copy = (char*)cJSON_malloc(len))) return 0;
建议写成:
copy = (char*)cJSON_malloc(len);
if (!copy) return0;
-
`cJSON_Print()` places `\t` after colon in objects.
This could work if all keys had the same length (shorter than tab size), but in practice it leads to messy formatting:
```
~/devel/cjson_tes…
-
-
Hi guys,
I get the following error on executing mup setup:
/usr/local/lib/node_modules/mup/node_modules/cjson/index.js:221
throw err;
^
Error: Parse error on line 6:
..., …
-
I am currently using is_array from here: https://github.com/mpx/lua-cjson/blob/db12267686af80f0a3643897d09016c137715c8a/lua/cjson/util.lua
Looks like microlight (https://github.com/stevedonovan/Mic…
-
Hi there
I storing three PKI certificate strings in the json, but when using cJSON_Print to print out the result string, it returns nothing. if I reduce to one certificate string, it works.
bel…
-
In Mizar, to execute unit tests, the command is "make run_unittests".
In dev-next branch, after run "make run_unittests", gets following result:
[ FAILED ] test_trn_cli_delete_agent_network_poli…