-
hi!
There are some pre-imported libraries available in the Redis Lua runtime context that are not available in the Jedis mock Lua runtime context ([source](https://redis.io/docs/latest/develop/intera…
-
i m trying to import the requests library but i got this error
error loading module 'cjson.safe' from file '/usr/local/lib/lua/5.2/cjson.so':
/usr/local/lib/lua/5.2/cjson.so: undefined symbol: l…
-
During a recent fuzzing session aimed at identifying memory management vulnerabilities within the cJSON library, a double free issue was uncovered in the cJSON_Delete function. This vulnerability pose…
-
The current serialization and deserialization of json is implemented using lua code, which has poor performance.
It is recommended to use cjson or rapidjson as a follow-up.
-
Sometimes it's require dto check if a JSON object or array is empty.
As far as I understand, this requires looking to `json->child`, as done inside `cJSON_GetArraySize()`
https://github.com/DaveGamb…
-
There is no way to update existing boolean item.
The only path I see is to check if the new value matches the old and if it doesn't then delete the old item and create new item. cJSON_SetBooleanValue…
yeti7 updated
2 years ago
-
hey,Dav,i got a trouble in this program
here i want to store the values of AF array in cJSON
but when i used cJSON_CreateFloatArray(aF, 2)
the output result is not the original data(0.01 0.15)
how…
-
Hi,
I initiated the configuration of cJSON on the new tool TrustInSoft CI. It's a source code analyzer, which analyzes execution paths (usually unit tests in your repo) to detect Undefined Behavior…
-
```cpp
#include
#include "cjson/cJSON.h"
void main()
{
cJSON *test = cJSON_CreateObject();
cJSON_AddBoolToObject(test, "test_bool", cJSON_False);
printf("%s", cJSON_Print(test));
…
-
I tried using both x86 and x64 for compilation
```
Using https://rocks.moonscript.org/lua-cjson-2.1.0-1.src.rock... switching to 'build' mode
cl /MD /O2 -c -Folua_cjson.obj -IC:/lua/5.1/include/ lua_…