Max Bruckner
dede4e3246
Add cJSON_ReplaceItemInObjectCaseSensitive
8 years ago
Max Bruckner
8b953d1202
Add cJSON_ReplaceItemViaPointer
8 years ago
Max Bruckner
2d07bbc9b2
Add cJSON_DeleteItemFromObjectCaseSensitive
8 years ago
Max Bruckner
8816a568ab
Add cJSON_DetachItemFromObjectCaseSensitive
8 years ago
Max Bruckner
33193ea557
Internal function get_array_item
8 years ago
Max Bruckner
c24c3e0285
Add cJSON_DetachItemViaPointer
8 years ago
Max Bruckner
e0d3a8a265
Limit nesting depth to 1000 and make it configurable.
8 years ago
Mike Robinson
a400888c1f
Document cJSON_free API
8 years ago
Max Bruckner
05f75e360b
Release Version 1.4.7
8 years ago
Max Bruckner
51d3df6c9f
cJSON_GetObjectItemCaseSensitive: Fix inconsistent prototype
Thanks @PawelWMS
8 years ago
Max Bruckner
02a05eea4e
cJSON: Add cJSON_malloc and cJSON_free
8 years ago
Max Bruckner
6ac896d8d2
cJSON_Compare: New function to compare json
8 years ago
Pawel Winogrodzki
c786cd9714
Adding back "const".
8 years ago
Max Bruckner
281df6997c
Update copyright
8 years ago
Max Bruckner
99db5db9a4
Release version 1.4.6
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
65541b900c
Update space requirements of cJSON_PrintPreallocated
8 years ago
Max Bruckner
3c1bfe125c
Clarify deprecation of valueint
8 years ago
Max Bruckner
5916f70640
cJSON.h: Deprecate valueint
8 years ago
Max Bruckner
3a20692c18
Release version 1.4.5
8 years ago
Max Bruckner
b0dfcde04c
Release Version 1.4.4
8 years ago
Max Bruckner
4bfb880093
cJSON.h: Note about buffer size for cJSON_PrintPreallocated
8 years ago
Max Bruckner
b7ce06224b
Release version 1.4.3
8 years ago
Max Bruckner
a1b37d0abe
Release Version 1.4.2
8 years ago
Max Bruckner
e3d5798896
Release version 1.4.1
8 years ago
Max Bruckner
02cd3eec37
Update version number to 1.4.0
8 years ago
Max Bruckner
2d3520e0b9
Use own cJSON_bool boolean type in the header
8 years ago
Max Bruckner
412f4f7d62
Use CJSON_PUBLIC for typecheck functions
8 years ago
Max Bruckner
c66d95d116
Release bugfix release 1.3.2
8 years ago
Mike Jerris
039b1cc653
add CJSON_PUBLIC macro to public functions to support visibility and dllimport/dllexport
8 years ago
Max Bruckner
c0ff1fef9b
Release 1.3.1
8 years ago
Max Bruckner
c26d53f0d7
Helper function to check the type of an item
This is necessary, because you can get it wrong if you do it manually.
(when you forget the & 0xFF in the comparison)
8 years ago
Max Bruckner
605422c60a
cJSON: New function cJSON_GetObjectItemCaseSensitive
8 years ago
Max Bruckner
b47d0e34ca
cJSON_ArrayForEach: Fix handling of NULL pointers
8 years ago
Max Bruckner
87691a86e5
cJSON_SetNumberValue: Fix compiler warning with -Waddress
8 years ago
Max Bruckner
4fce9cce86
Release version 1.3.0
8 years ago
Max Bruckner
cf48ea8175
New Type: cJSON_Invalid
This assigns the macro cJSON_Invalid to 0.
8 years ago
Max Bruckner
87f77274de
cJSON_SetNumberValue: Fix undefined double to int conversion
This might cause slight changes in behavior, but it shouldn't break
anything that is not already broken (for example the original macro
could either return a double, or an integer or whatever depending on if
object is NULL or not.)
8 years ago
Max Bruckner
981f59b163
Release Version 1.2.1
8 years ago
Max Bruckner
c49ffbfba8
cJSON_Version: returns a version string
This is useful to programmatically find out the version of cJSON that
has been used (useful in case of scripting language bindings for
example).
8 years ago
Max Bruckner
e7533aa6f0
Put version information in the header
This is important so that it is always known which version of the
library is used, especially if the C and Header files have just been
copy pasted to another code base.
8 years ago
Max Bruckner
9ef44fc0b6
Remove C++ comment in header
8 years ago
Max Bruckner
84b48121bb
header: explain PrintPreallocated return value
8 years ago
Max Bruckner
e1eb06fae0
cJSON.h warn about write access to constants ( #80 )
Add a comment that warns about potential write access to constant memory
locations after using cJSON_AddItemToObjectCS.
8 years ago
Kyle Chisholm
de93d76d0b
changed to cJSON_PrintPreallocated, added flag in printbuffer
8 years ago
Kyle Chisholm
23dafa4739
added Print function call for pre-allocated buffer
8 years ago
Max Bruckner
46ff20c8b0
cJSON.h: add stddef.h because of size_t
8 years ago
Jiri Zouhar
06008b0444
add support to insert raw json
8 years ago
Max Bruckner
c6cb991e3f
reformatting: cJSON.h: remove trailing spaces
8 years ago