Max Bruckner
|
e0d3a8a265
|
Limit nesting depth to 1000 and make it configurable.
|
8 years ago |
Max Bruckner
|
5aa152fa83
|
Merge pull request #157 from mhrobinson/cJSON_Free-api
Document cJSON_free API
|
8 years ago |
Mike Robinson
|
a400888c1f
|
Document cJSON_free API
|
8 years ago |
Debora Grosse
|
3fc9bc0648
|
cJSON: Fix print_number to print significant digits of doubles
|
8 years ago |
Max Bruckner
|
05f75e360b
|
Release Version 1.4.7
|
8 years ago |
Max Bruckner
|
32626cc251
|
Update Changelog
|
8 years ago |
Max Bruckner
|
24cf9308de
|
README: Caveat about zero terminated strings
|
8 years ago |
Max Bruckner
|
51d3df6c9f
|
cJSON_GetObjectItemCaseSensitive: Fix inconsistent prototype
Thanks @PawelWMS
|
8 years ago |
Max Bruckner
|
6ccfd5d603
|
tests: Move most of test_utils.c to old_utils_tests
|
8 years ago |
Max Bruckner
|
49ebc85e7a
|
Move ApplyPatch tests from test_utils.c to json.
|
8 years ago |
Max Bruckner
|
8fd46d51b1
|
Put generated files in library_config subdirectory
|
8 years ago |
Max Bruckner
|
609bb75421
|
cJSON_Utils: Use cJSON_free and cJSON_malloc
|
8 years ago |
Max Bruckner
|
cea3fe4165
|
Caveats: Add note about UTF-8 encoding
|
8 years ago |
Max Bruckner
|
b759ff38b8
|
Merge pull request #150 from DaveGamble/json-patch-tests
Add json-patch/json-patch-tests for testing JSON patch implementation
|
8 years ago |
Max Bruckner
|
ba7b48b3f3
|
Enable json-patch-tests tests
|
8 years ago |
Max Bruckner
|
134ebf5e89
|
cJSONUtils_ApplyPatches: Handle replacement of root
|
8 years ago |
Max Bruckner
|
02a05eea4e
|
cJSON: Add cJSON_malloc and cJSON_free
|
8 years ago |
Max Bruckner
|
d67b008d4b
|
decode_array_index_from_pointer: parse manually
This allows checking for leading zeroes and invalid characters after the index
|
8 years ago |
Max Bruckner
|
c66342d871
|
cJSON_Utils: Use enum for opcode
|
8 years ago |
Max Bruckner
|
c960b2b853
|
cJSON_Utils: Fix size_t support of cJSONUtils_GetPointer
|
8 years ago |
Max Bruckner
|
3056d85f01
|
cJSON_Utils: Use new helper function
|
8 years ago |
Max Bruckner
|
b470d918f3
|
cJSONUtils: add decode_array_index_from_pointer as common helper function
|
8 years ago |
Max Bruckner
|
8efb287ae2
|
cJSONUtils_ApplyPatches: Fail if removal failed
|
8 years ago |
Max Bruckner
|
a1602f484b
|
cJSONUtils_ApplyPatches: Don't accept invalid array indices
|
8 years ago |
Max Bruckner
|
d058a9cd8f
|
cJSON_ApplyPatches: Don't allow adding to array out of bounds
|
8 years ago |
Max Bruckner
|
f11b5eadc8
|
Update Changelog for 1.4.7
|
8 years ago |
Max Bruckner
|
075a06f40b
|
cJSONUtils_ApplyPatches: Fix not accepting arrays
This was completely broken, arrays weren't accepted.
|
8 years ago |
Max Bruckner
|
62ba68fc7d
|
cJSONUtils_ApplyPatches: Fix not accepting arrays
This was completely broken, arrays weren't accepted.
|
8 years ago |
Max Bruckner
|
7276f4df05
|
Squashed 'tests/json-patch-tests/' content from commit 716417e
git-subtree-dir: tests/json-patch-tests
git-subtree-split: 716417e71e328e116dc1e98b903b434578bc1a1c
|
8 years ago |
Max Bruckner
|
8c900b9e07
|
Merge commit '7276f4df051bc58af8a2da7d3199517d43d37582' as 'tests/json-patch-tests'
|
8 years ago |
Max Bruckner
|
e0a3c2370d
|
Merge pull request #148 from DaveGamble/cjson-compare
cJSON_Compare
|
8 years ago |
Max Bruckner
|
3c18c83513
|
Add Changelog
|
8 years ago |
Max Bruckner
|
6ac896d8d2
|
cJSON_Compare: New function to compare json
|
8 years ago |
Max Bruckner
|
2a25abbf2a
|
Deduplicate code for cJSON_GetObjectItem
|
8 years ago |
Max Bruckner
|
e9803341d5
|
simplify and rename cJSON_strcasecmp
Two NULL strings should not be considered equal for the purpose of
cJSON.
|
8 years ago |
Max Bruckner
|
31400affab
|
Contributors: Add Pawel Winogrodzki
|
8 years ago |
Max Bruckner
|
6c3df7eb59
|
cJSON_ParseWithOpts: Fix -Wmissing-field-initializers
|
8 years ago |
Max Bruckner
|
a99d254e4f
|
License: Add other contributors
|
8 years ago |
Max Bruckner
|
f0230a584f
|
Merge pull request #139 from PawelWMS/develop_W4_fixes
Fixing all /W4 level warnings.
|
8 years ago |
Pawel Winogrodzki
|
2148e3277a
|
Renaming "min" to "cjson_min".
|
8 years ago |
Pawel Winogrodzki
|
c786cd9714
|
Adding back "const".
|
8 years ago |
Pawel Winogrodzki
|
238ceec175
|
Fixing all W4-level warnings.
|
8 years ago |
Max Bruckner
|
6702037b68
|
cJSON_Delete: Improve readability
|
8 years ago |
Max Bruckner
|
eb5000ba61
|
cJSON_strdup: improve readability
|
8 years ago |
Max Bruckner
|
655c26ada1
|
cJSON_strcasecmp: Improve readability
|
8 years ago |
Max Bruckner
|
218b0c8dcf
|
cJSON_Print: Use reallocate if available
This can reduce worst case peak memory usage by 30% depending on the
realloc implementation.
|
8 years ago |
Max Bruckner
|
281df6997c
|
Update copyright
|
8 years ago |
Max Bruckner
|
bc0bb7c224
|
parse_with_opts: test return_parse_end
|
8 years ago |
Max Bruckner
|
56a32f9ecc
|
Use error_position instead of error pointer internally
|
8 years ago |
Max Bruckner
|
770e8263a5
|
tests for cJSON_ParseWithOpts
|
8 years ago |