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
|
62ba68fc7d
|
cJSONUtils_ApplyPatches: Fix not accepting arrays
This was completely broken, arrays weren't accepted.
|
8 years ago |
Max Bruckner
|
8c900b9e07
|
Merge commit '7276f4df051bc58af8a2da7d3199517d43d37582' as 'tests/json-patch-tests'
|
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
|
e0a3c2370d
|
Merge pull request #148 from DaveGamble/cjson-compare
cJSON_Compare
|
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 |
Max Bruckner
|
2683589d93
|
parser: Construct error pointer from buffer offset
|
8 years ago |
Max Bruckner
|
c837177a56
|
utf16_literal_to_utf8: Support \u0000
|
8 years ago |
Max Bruckner
|
80bc7652ae
|
cJSON_ParseWithOptions: Remove end pointer
|
8 years ago |
Max Bruckner
|
87a204ed0b
|
parse_functions: Return booleans instead of pointers
|
8 years ago |
Max Bruckner
|
c9739c59fd
|
Replace strchr with switch case
This should improve performance and improve readability.
|
8 years ago |
Max Bruckner
|
778a0c146f
|
parse_string: Use parsebuffer
|
8 years ago |
Max Bruckner
|
f69b109c9f
|
parse_number: Use parse_buffer
|
8 years ago |
Max Bruckner
|
fef1c45b92
|
parse_object: Use parse_buffer
|
8 years ago |
Max Bruckner
|
033a542532
|
parse_array: Use parsebuffer
|
8 years ago |
Max Bruckner
|
fd0320cf54
|
parse_value: Use parse_buffer
|
8 years ago |
Max Bruckner
|
0f98214e71
|
parsebuffer: type and macros
|
8 years ago |
Max Bruckner
|
06a2326e3b
|
cJSON_ParseWithOpts: Use goto fail
|
8 years ago |
Max Bruckner
|
11131b9ced
|
cJSON_ParseWithOptions: Improve variable names and intent
|
8 years ago |
Max Bruckner
|
99db5db9a4
|
Release version 1.4.6
|
8 years ago |
Max Bruckner
|
bb5ab5916f
|
Merge pull request #147 from DaveGamble/copy-paste-msvc
Fix copy pasting with MSVC
|
8 years ago |
Max Bruckner
|
411c50f671
|
Don't redefine CJSON_EXPORT_SYMBOLS
|
8 years ago |
Max Bruckner
|
ec2db50b6f
|
dllexport symbols by default and add CJSON_IMPORT_SYMBOLS
This should fix copy pasting of the C and header files with the MSVC
compiler.
|
8 years ago |
Max Bruckner
|
74d0525201
|
Merge pull request #146 from DaveGamble/locale-independence
Locale independence
|
8 years ago |