Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_external_json-c
/
9791c3896e6b2c30dc762013af41dd62ad1421bb
/
json_object.c
271c53e
Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++.
by Mateusz Loskot
· 12 years ago
a6f39a3
Replaced #if HAVE_X with #ifdef HAVE_X as the former test is troublemaker with #define HAVE_X where #define HAVE_X 1|0 is meant.
by Mateusz Loskot
· 12 years ago
0cc1db6
Change the format used for sprintbuf (but not scanf) to use %f instead of %lf because the "l" is unnecessary and some compilers behave differently with it present (e.g. MinGW).
by Eric Haszlakiewicz
· 12 years ago
3fcffe1
Add a json_object_to_json_string_ext() function to allow the formatting of output to be selected.
by Eric Haszlakiewicz
· 12 years ago
4e000a6
Since we already use a local json_bool type, replace any stdbool.h usage with
by Eric Haszlakiewicz
· 12 years ago
6917586
Add NULL-safe get object method
by Keith Derrick
· 13 years ago
aef439a
Adjust json_object_is_type and json_object_get_type so they return json_type_null for NULL objects.
by Eric Haszlakiewicz
· 13 years ago
37e7467
Rename boolean type to json_bool
by Keith Derrick
· 13 years ago
6a231e4
Some updates to make the code compatible with VC 9 (2008)
by John Arbash Meinel
· 13 years ago
7ec34c9
Added capitalized charaters to json_hex_chars
by Federico Culloca
· 13 years ago
c43871c
Add new json_object_array_sort function
by Frederik Deweerdt
· 13 years ago
276123e
handle NULL passed to json_objct_object_get
by Jehiah Czebotar
· 13 years ago
886c4fb
Add a json_type_to_name() function which returns a string that describes the type. Useful for logging.
by Eric Haszlakiewicz
· 13 years ago
e2e1601
Fix a bug in json_object_get_int() where calling it on a string type object would always return 0, instead of the actual numerical value of the string.
by Eric Haszlakiewicz
· 13 years ago
ac601b5
update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly
by Jehiah Czebotar
· 14 years ago
252669c
Simplify things by storing integer values only as int64_t's internally, and
by ehaszla
· 14 years ago
c4dceae
* Add int64 support. Two new functions json_object_net_int64 and
by Michael Clark
· 14 years ago
c5cbf82
Disable REFCOUNT_DEBUG by default in json_object.c
by Christopher Watford
· 15 years ago
6f70e44
Fix json_object_get_boolean to return false for empty string
by Michael Clark
· 15 years ago
aaec1ef
* Don't use this as a variable, so we can compile with a C++ compiler
by Michael Clark
· 16 years ago
266a3fd
* Don't use this as a variable, so we can compile with a C++ compiler
by Michael Clark
· 16 years ago
22dee7c
* Null pointer dereference fix. Fix json_object_get_boolean strlen test
by Michael Clark
· 16 years ago
e8de078
* Fixed warning reported by adding -Wstrict-prototypes
by Michael Clark
· 16 years ago
e6548a3
fix typo in json_object.h
by Michael Clark
· 16 years ago
68cafad
Add const correctness to public interfaces
by Michael Clark
· 16 years ago
14862b1
Patch allows for json-c compile with -Werror and not fail due to
by Michael Clark
· 17 years ago
c8f4a6e
* Fix bug with use of capital E in numbers with exponents
by Michael Clark
· 17 years ago
dfaf670
* Add macros to enable compiling out debug code
by Michael Clark
· 17 years ago
a850f8e
* Add escaping of backslash to json output
by Michael Clark
· 18 years ago
837240f
* Fix bug in escaping of control characters
by Michael Clark
· 18 years ago
f6a6e48
* Make headers C++ compatible by change *this to *obj
by Michael Clark
· 18 years ago
4504df7
* printbuf.c - C. Watford (christopher dot watford at gmail dot com)
by Michael Clark
· 18 years ago
f0d0888
import of version 0.1
by Michael Clark
· 18 years ago