Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
C Shell
Tree: 276123efe0

handle NULL passed to json_objct_object_get

Patch via Nikola Pajkovsky


git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@75 327403b1-1117-474d-bef2-5cb71233fd97
latest commit 276123efe0
@jehiah authored
Failed to load latest commit information.
.gitignore set svn:ignore and .gitignore to skip intermediate build files
AUTHORS * printbuf.c - C. Watford (christopher dot watford at gmail dot com)
COPYING * Add escaping of backslash to json output
ChangeLog Note a few recent changes in the ChangeLog.
Doxyfile * Add int64 support. Two new functions json_object_net_int64 and
INSTALL * printbuf.c - C. Watford (christopher dot watford at gmail dot com)
Makefile.am Bump up the libtool library version to "1:0:1" (aka libjson.0.1.0) si…
NEWS Add a dummy "NEWS" file to automake doesn't complain.
README Note the json-c home page in the README file.
README-WIN32.html Ooops. remove literal ^M (copy and paste problem)
README.html Add mailing lists to README.html
arraylist.c * Rename min and max so we can never clash with C or C++ std library
arraylist.h * Don't use this as a variable, so we can compile with a C++ compiler
autogen.sh Update executable properties
bits.h add json_tokener_parse_verbose, and return NULL on parser errors
config.h.in * Add int64 support. Two new functions json_object_net_int64 and
config.h.win32 * Make headers C++ compatible by change *this to *obj
configure.in Bump the version to 0.10, since that's what we were at.
debug.c * Fixed warning reported by adding -Wstrict-prototypes
debug.h * Don't use this as a variable, so we can compile with a C++ compiler
json-c.vcproj * printbuf.c - C. Watford (christopher dot watford at gmail dot com)
json.h * Make headers C++ compatible by change *this to *obj
json.pc.in * printbuf.c - C. Watford (christopher dot watford at gmail dot com)
json_inttypes.h * Add int64 support. Two new functions json_object_net_int64 and
json_object.c handle NULL passed to json_objct_object_get
json_object.h move definition of json_object_iter to public header to enable extern…
json_object_private.h move definition of json_object_iter to public header to enable extern…
json_tokener.c add json_tokener_parse_verbose, and return NULL on parser errors
json_tokener.h add json_tokener_parse_verbose, and return NULL on parser errors
json_util.c Add a json_type_to_name() function which returns a string that descri…
json_util.h Add a json_type_to_name() function which returns a string that descri…
linkhash.c * Fix subtle bug in linkhash where lookup could hang after all slots
linkhash.h * Don't use this as a variable, so we can compile with a C++ compiler
parse_int64.test Update executable properties
printbuf.c Simplify things by storing integer values only as int64_t's internall…
printbuf.h * Correct comment describing printbuf_memappend in printbuf.h
test-defs.sh Update executable properties
test1.c add json_tokener_parse_verbose, and return NULL on parser errors
test1.expected * Add int64 support. Two new functions json_object_net_int64 and
test1.test Update executable properties
test2.c * Don't use this as a variable, so we can compile with a C++ compiler
test2.expected * Add int64 support. Two new functions json_object_net_int64 and
test2.test Update executable properties
test4.c * Add int64 support. Two new functions json_object_net_int64 and
test4.expected * Add int64 support. Two new functions json_object_net_int64 and
test4.test Update executable properties
test_cast.c Add a test_cast test case. This checks that the casting that is impli…
test_cast.expected Add a test_cast test case. This checks that the casting that is impli…
test_cast.test Add a test_cast test case. This checks that the casting that is impli…
test_null.c update json_object_new_string_len, json_escape_str (internal). Writer…
test_null.expected update json_object_new_string_len, json_escape_str (internal). Writer…
test_null.test Set the svn:executable property so running the test_null test works p…
test_parse_int64.c Simplify things by storing integer values only as int64_t's internall…
test_parse_int64.expected Simplify things by storing integer values only as int64_t's internall…

README

Building on Unix with gcc and autotools

Home page for json-c:
  http://oss.metaparadigm.com/json-c/

If checking out from SVN (http://svn.metaparadigm.com/svn/json-c/trunk) or Git (https://github.com/jehiah/json-c):

    $ sh autogen.sh

Then 

    $ ./configure
    $ make
    $ make install

To build and run the test programs run 

    $ make check

Linking to libjson

If your system has pkgconfig then you can just add this to your makefile

CFLAGS += $(shell pkg-config --cflags json)
LDFLAGS += $(shell pkg-config --libs json)
Something went wrong with that request. Please try again.