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
Ian Mobley
b393b3beeb
Add const qualifier for non-destructive functions
Functions like cJSON_Print do not and should not modify the object passed
to them.
8 years ago
Max Bruckner
ad3d5130b5
reformatting: cJSON.h
8 years ago
Dave Gamble
b4151361de
Allow for global/local error pointers. If you supply a return_parse_end
to cJSON_ParseWithOpts, then that will store the error pointer (if
parsing fails).
9 years ago
Eswar Yaganti
ce546b54d8
Changed the #define values of cJSON* data types
We can use bitops to check if the parsed JSON is of a particular types
using OR
9 years ago
Eswar Yaganti
51371c899e
Changed the #define values of cJSON* data types
We can use bitops to check if the parsed JSON is of a particular types
using OR
9 years ago
Kevin Branigan
8865d869db
cJSON_HasObjectItem didn’t compile
9 years ago
root
0da343068e
add new macro for iterating over an array
9 years ago
Roland Meertens
b175877d8b
+usefull function
9 years ago
Dave Gamble
1d9b70e706
Fix comment style for proper ansi c compliance.
git-svn-id: svn://svn.code.sf.net/p/cjson/code@69 e3330c51-1366-4df0-8b21-3ccf24e3d50e
10 years ago
Dave Gamble
060e6563c0
Add more patch functionality and some more utils.
Also add a new #define to cJSON.h for SetNumberValue.
git-svn-id: svn://svn.code.sf.net/p/cjson/code@66 e3330c51-1366-4df0-8b21-3ccf24e3d50e
10 years ago