Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
json-c
/
a23caf677c107b7cfe5ad52c73a932c706aaa7f5
/
json_object.c
a23caf6
Use sizeof instead of hard coded values when calling snprintf.
by Eric Haszlakiewicz
· 11 years ago
51993c2
Added a json_object_new_double_s() convenience function to allow an exact string representation of a double to be specified when creating the object and use it in json_tokener_parse_ex() so a re-serialized object more exactly matches the input.
by Eric Haszlakiewicz
· 11 years ago
ef43fe3
Merge pull request #96 from rouault/remove_strdnup
by Eric Haszlakiewicz
· 11 years ago
1a957c2
Remove redefinition of strndup() which is no longer used in the codebase
by Even Rouault
· 11 years ago
c5523a1
fixing problem that isinf(-Inf) can be 1 or -1
by Taneli Mielikainen
· 11 years ago
98a62a7
Merge pull request #89 from ayanes/master
by Eric Haszlakiewicz
· 11 years ago
d086e20
Fixes for Infinity and NaN
by Adrian Yanes
· 11 years ago
ed819fb
snprintf definition is needed here, too
by Anatol Belski
· 11 years ago
5b36a43
Merge branch 'remicollet-issue-float'
by Eric Haszlakiewicz
· 12 years ago
cca74c6
add json_object_object_length
by Greg Hazel
· 12 years ago
7eaa849
escape '\f' in json_escape_str
by Abioy
· 12 years ago
32d149c
probably worth an option for this
by Remi Collet
· 12 years ago
8c84796
Save space, drop unuseful trailing zeroes
by Remi Collet
· 12 years ago
4014fe8
Simple fix to double encode
by Remi Collet
· 12 years ago
4e4af93
Fix issue #53 - ensure explicit length string are still NUL terminated, and fix json_tokener_parse() to work properly with embedded unicode \u0000 values in strings.
by Eric Haszlakiewicz
· 12 years ago
e36e562
Reformat json_object_object_get() and json_object_object_get_ex().
by Eric Haszlakiewicz
· 12 years ago
5450bed
Fix json_object_object_get() so it returns NULL if the incoming json_object is NULL.
by Eric Haszlakiewicz
· 12 years ago
5f4739e
Change json_object_put to return 1 if the object passed was actually freed. (or 0 if only the reference count was decremented)
by Eric Haszlakiewicz
· 12 years ago
38f421a
Add a json_set_serializer() function to allow the string output of a json_object to be customized.
by Eric Haszlakiewicz
· 12 years ago
6988f53
Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid.
by Eric Haszlakiewicz
· 12 years ago
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
· 13 years ago
3fcffe1
Add a json_object_to_json_string_ext() function to allow the formatting of output to be selected.
by Eric Haszlakiewicz
· 13 years ago
4e000a6
Since we already use a local json_bool type, replace any stdbool.h usage with
by Eric Haszlakiewicz
· 13 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
· 14 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
· 14 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
· 16 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