35 Commits (38f421a2e7f4453bdc7f206681dbcbfb1b00de4c)

Author SHA1 Message Date
  Eric Haszlakiewicz 38f421a2e7 Add a json_set_serializer() function to allow the string output of a json_object to be customized. 13 years ago
  Eric Haszlakiewicz 6988f53fcb Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid. 13 years ago
  Mateusz Loskot 271c53ebdd Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++. 13 years ago
  Mateusz Loskot a6f39a3c0c 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. 13 years ago
  Eric Haszlakiewicz 0cc1db6459 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). 13 years ago
  Eric Haszlakiewicz 3fcffe1bb0 Add a json_object_to_json_string_ext() function to allow the formatting of output to be selected. 13 years ago
  Eric Haszlakiewicz 4e000a65e6 Since we already use a local json_bool type, replace any stdbool.h usage with 13 years ago
  Keith Derrick 6917586acf Add NULL-safe get object method 13 years ago
  Eric Haszlakiewicz aef439a175 Adjust json_object_is_type and json_object_get_type so they return json_type_null for NULL objects. 13 years ago
  Keith Derrick 37e7467476 Rename boolean type to json_bool 13 years ago
  John Arbash Meinel 6a231e4b41 Some updates to make the code compatible with VC 9 (2008) 13 years ago
  Federico Culloca 7ec34c9b39 Added capitalized charaters to json_hex_chars 14 years ago
  Frederik Deweerdt c43871c866 Add new json_object_array_sort function 14 years ago
  Jehiah Czebotar 276123efe0 handle NULL passed to json_objct_object_get 14 years ago
  Eric Haszlakiewicz 886c4fbebf Add a json_type_to_name() function which returns a string that describes the type. Useful for logging. 14 years ago
  Eric Haszlakiewicz e2e16011f0 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. 14 years ago
  Jehiah Czebotar ac601b5b5f update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly 14 years ago
  ehaszla 252669cee6 Simplify things by storing integer values only as int64_t's internally, and 15 years ago
  Michael Clark c4dceae1c5 * Add int64 support. Two new functions json_object_net_int64 and 15 years ago
  Christopher Watford c5cbf8214a Disable REFCOUNT_DEBUG by default in json_object.c 16 years ago
  Michael Clark 6f70e44b7d Fix json_object_get_boolean to return false for empty string 16 years ago
  Michael Clark aaec1ef3c5 * Don't use this as a variable, so we can compile with a C++ compiler 16 years ago
  Michael Clark 266a3fd301 * Don't use this as a variable, so we can compile with a C++ compiler 16 years ago
  Michael Clark 22dee7cb59 * Null pointer dereference fix. Fix json_object_get_boolean strlen test 16 years ago
  Michael Clark e8de078806 * Fixed warning reported by adding -Wstrict-prototypes 16 years ago
  Michael Clark e6548a3dc2 fix typo in json_object.h 16 years ago
  Michael Clark 68cafad078 Add const correctness to public interfaces 16 years ago
  Michael Clark 14862b1ef3 Patch allows for json-c compile with -Werror and not fail due to 18 years ago
  Michael Clark c8f4a6e7de * Fix bug with use of capital E in numbers with exponents 18 years ago
  Michael Clark dfaf670436 * Add macros to enable compiling out debug code 18 years ago
  Michael Clark a850f8e29e * Add escaping of backslash to json output 18 years ago
  Michael Clark 837240f75f * Fix bug in escaping of control characters 18 years ago
  Michael Clark f6a6e486ff * Make headers C++ compatible by change *this to *obj 18 years ago
  Michael Clark 4504df7117 * printbuf.c - C. Watford (christopher dot watford at gmail dot com) 18 years ago
  Michael Clark f0d08887b8 import of version 0.1 18 years ago