- 10 2月, 2016 1 次提交
-
-
由 Eswar Yaganti 提交于
We can use bitops to check if the parsed JSON is of a particular types using OR
-
- 26 10月, 2015 4 次提交
-
-
由 Kevin Branigan 提交于
Fix printing of empty string pointers
-
由 Max Bruckner 提交于
Once the check if str is NULL is reached, str has already been derereferenced in the for loop, so in the case that the if clause would be entered, the program has already crashed due to a null pointer dereference. By checking the content of str before dereferencing, the code in the if clause is actually useful. for (ptr=str;*ptr;ptr++) flag|=((*ptr>0 && *ptr<32)||(*ptr=='\"')||(*ptr=='\\'))?1:0; ... if (!str) ...
-
由 Kevin Branigan 提交于
Fix format problem with empty objects
-
由 Max Bruckner 提交于
When printing empty objects, the closing curly brace was missing one indentation level. Example from the output of test_utils: BEFORE FIX: { "foo": "bar", "child": { "grandchild": { } } } AFTER FIX: { "foo": "bar", "child": { "grandchild": { } } }
-
- 19 10月, 2015 3 次提交
-
-
由 Kevin Branigan 提交于
fix boolean expression
-
由 Kevin Branigan 提交于
fix memory leaks
-
由 Kevin Branigan 提交于
Remove line that will never be executed
-
- 16 10月, 2015 1 次提交
-
-
由 Max Bruckner 提交于
-
- 14 10月, 2015 2 次提交
-
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
This expression was always false.
-
- 06 10月, 2015 1 次提交
-
-
由 Kevin Branigan 提交于
-
- 02 10月, 2015 1 次提交
-
-
由 Kevin Branigan 提交于
-
- 01 10月, 2015 5 次提交
-
-
由 Kevin Branigan 提交于
README.md: fixed formatting
-
由 Kevin Branigan 提交于
add new macro for iterating over an array
-
由 Kevin Branigan 提交于
added cJSON_HasObjectItem
-
由 Kevin Branigan 提交于
Handle invalid numbers
-
由 Linus Wallgren 提交于
Previously cJSON generated invalid JSON when a number was infinite or similar. This patch changes the behaviour to match javascript, that is to render such a number as null.
-
- 26 9月, 2015 1 次提交
-
-
由 IvanVoid 提交于
-
- 16 9月, 2015 1 次提交
-
-
由 root 提交于
-
- 15 9月, 2015 1 次提交
-
-
由 Roland Meertens 提交于
-
- 21 8月, 2015 1 次提交
-
-
由 Kevin Branigan 提交于
Remove "m" library dependency on Windows.
-
- 20 8月, 2015 1 次提交
-
-
由 Evan Todd 提交于
-
- 12 8月, 2015 2 次提交
-
-
由 Kevin Branigan 提交于
Update gitignore to avoid tracking unwanted files
-
由 Ajay Bhargav 提交于
.gitignore updated to avoid tracking files generated after build. Following list of files are added: *.o *.a *.so *.swp *.patch tags Signed-off-by: NAjay Bhargav <ajay.bhargav@einfochips.com>
-
- 28 7月, 2015 3 次提交
-
-
由 Kevin Branigan 提交于
Merge latest upstream code (svn rev. 73) into github fork
-
由 Anton Sergeev 提交于
Signed-off-by: NAnton Sergeev <Anton.Sergeev@elecard.ru>
-
由 Anton Sergeev 提交于
Signed-off-by: NAnton Sergeev <Anton.Sergeev@elecard.ru> Conflicts: cJSON.c test.c
-
- 15 7月, 2015 2 次提交
-
-
由 Kevin Branigan 提交于
Add CMakeLists.txt
-
由 Anton Sergeev 提交于
Signed-off-by: NAnton Sergeev <Anton.Sergeev@elecard.ru>
-
- 15 6月, 2015 2 次提交
-
-
由 Kevin Branigan 提交于
Update cJSON.c
-
由 DongwenHuang 提交于
-
- 13 6月, 2015 1 次提交
-
-
由 Kevin Branigan 提交于
Update test.c
-
- 12 6月, 2015 1 次提交
-
-
由 DongwenHuang 提交于
-
- 14 2月, 2015 5 次提交
-
-
由 Dave Gamble 提交于
git-svn-id: svn://svn.code.sf.net/p/cjson/code@73 e3330c51-1366-4df0-8b21-3ccf24e3d50e
-
由 Dave Gamble 提交于
cost for sorted objects to O(N) git-svn-id: svn://svn.code.sf.net/p/cjson/code@72 e3330c51-1366-4df0-8b21-3ccf24e3d50e
-
由 Dave Gamble 提交于
It's a bit of a shame to use the sorts, because cJSON is otherwise incredibly stable (json->cJSON->json is unmodified modulo formatting), but it means we get usable performance, rather than O(N^2) which will make CPUs cry. git-svn-id: svn://svn.code.sf.net/p/cjson/code@71 e3330c51-1366-4df0-8b21-3ccf24e3d50e
-
由 Dave Gamble 提交于
Correct comment and variable declaration style to be more compatible. Added cJSONUtils_SortObject for sorting the members of an object alphabetically. git-svn-id: svn://svn.code.sf.net/p/cjson/code@70 e3330c51-1366-4df0-8b21-3ccf24e3d50e
-
由 Dave Gamble 提交于
git-svn-id: svn://svn.code.sf.net/p/cjson/code@69 e3330c51-1366-4df0-8b21-3ccf24e3d50e
-
- 11 2月, 2015 1 次提交
-
-
由 Dave Gamble 提交于
git-svn-id: svn://svn.code.sf.net/p/cjson/code@68 e3330c51-1366-4df0-8b21-3ccf24e3d50e
-