From b757b5a02c4779620a65e68d23cff27fb20a7757 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 16 Mar 2018 11:32:14 +0900 Subject: [PATCH] Imported Upstream version 0.13.1 Change-Id: I1e20613dd538ab42d9ba13143edf915d86fd74de Signed-off-by: DongHun Kwak --- CMakeLists.txt | 2 +- ChangeLog | 13 + Doxyfile | 2 +- Makefile.am | 4 +- Makefile.in | 4 +- config.h.win32 | 6 +- configure | 139 +++++++- configure.ac | 25 +- doc/html/README_8md.html | 35 +- doc/html/annotated.html | 35 +- doc/html/arraylist_8h.html | 93 +++--- doc/html/bits_8h.html | 51 ++- doc/html/classes.html | 41 ++- doc/html/debug_8h.html | 97 +++--- doc/html/deprecated.html | 29 +- doc/html/doxygen.css | 186 +---------- doc/html/files.html | 35 +- doc/html/ftv2blank.png | Bin 0 -> 86 bytes doc/html/ftv2doc.png | Bin 0 -> 746 bytes doc/html/ftv2folderclosed.png | Bin 0 -> 616 bytes doc/html/ftv2folderopen.png | Bin 0 -> 597 bytes doc/html/ftv2lastnode.png | Bin 0 -> 86 bytes doc/html/ftv2link.png | Bin 0 -> 746 bytes doc/html/ftv2mlastnode.png | Bin 0 -> 246 bytes doc/html/ftv2mnode.png | Bin 0 -> 246 bytes doc/html/ftv2node.png | Bin 0 -> 86 bytes doc/html/ftv2plastnode.png | Bin 0 -> 229 bytes doc/html/ftv2pnode.png | Bin 0 -> 229 bytes doc/html/ftv2splitbar.png | Bin 0 -> 314 bytes doc/html/ftv2vertline.png | Bin 0 -> 86 bytes doc/html/functions.html | 105 ++++-- doc/html/functions_vars.html | 105 ++++-- doc/html/globals.html | 65 +++- doc/html/globals_a.html | 67 +++- doc/html/globals_defs.html | 92 +++-- doc/html/globals_e.html | 65 +++- doc/html/globals_enum.html | 46 ++- doc/html/globals_eval.html | 53 ++- doc/html/globals_f.html | 65 +++- doc/html/globals_func.html | 74 +++-- doc/html/globals_h.html | 65 +++- doc/html/globals_i.html | 65 +++- doc/html/globals_j.html | 78 +++-- doc/html/globals_l.html | 71 ++-- doc/html/globals_m.html | 81 +++-- doc/html/globals_n.html | 65 +++- doc/html/globals_p.html | 65 +++- doc/html/globals_s.html | 65 +++- doc/html/globals_t.html | 65 +++- doc/html/globals_type.html | 64 ++-- doc/html/globals_vars.html | 46 ++- doc/html/index.html | 60 ++-- doc/html/issues__closed__for__0_813_8md.html | 35 +- doc/html/json_8h.html | 35 +- doc/html/json__c__version_8h.html | 77 ++--- doc/html/json__inttypes_8h.html | 43 +-- doc/html/json__object_8h.html | 481 +++++++++++---------------- doc/html/json__object__iterator_8h.html | 82 ++--- doc/html/json__object__private_8h.html | 61 ++-- doc/html/json__pointer_8h.html | 51 ++- doc/html/json__tokener_8h.html | 237 +++++++------ doc/html/json__util_8h.html | 87 ++--- doc/html/json__visit_8h.html | 77 ++--- doc/html/linkhash_8h.html | 201 ++++------- doc/html/math__compat_8h.html | 51 ++- doc/html/md_issues_closed_for_0_813.html | 33 +- doc/html/pages.html | 29 +- doc/html/printbuf_8h.html | 92 +++-- doc/html/random__seed_8h.html | 39 ++- doc/html/snprintf__compat_8h.html | 35 +- doc/html/strdup__compat_8h.html | 35 +- doc/html/strerror__override_8h.html | 43 +-- doc/html/strerror__override__private_8h.html | 39 ++- doc/html/structarray__list.html | 55 ++- doc/html/structjson__object.html | 79 ++--- doc/html/structjson__object__iter.html | 47 ++- doc/html/structjson__object__iterator.html | 39 ++- doc/html/structjson__tokener.html | 83 ++--- doc/html/structjson__tokener__srec.html | 51 ++- doc/html/structlh__entry.html | 55 ++- doc/html/structlh__table.html | 79 ++--- doc/html/structprintbuf.html | 47 ++- doc/html/tabs.css | 61 +++- doc/html/unionjson__object_1_1data.html | 75 ++--- doc/html/vasprintf__compat_8h.html | 35 +- fuzz/README.md | 6 + fuzz/build.sh | 30 ++ fuzz/tokener_parse_ex_fuzzer.cc | 13 + fuzz/tokener_parse_ex_fuzzer.dict | 18 + json_c_version.h | 4 +- json_object.c | 80 +++-- json_object.h | 15 +- tests/test_double_serializer.c | 20 ++ tests/test_double_serializer.expected | 4 + 94 files changed, 2847 insertions(+), 2236 deletions(-) create mode 100644 doc/html/ftv2blank.png create mode 100644 doc/html/ftv2doc.png create mode 100644 doc/html/ftv2folderclosed.png create mode 100644 doc/html/ftv2folderopen.png create mode 100644 doc/html/ftv2lastnode.png create mode 100644 doc/html/ftv2link.png create mode 100644 doc/html/ftv2mlastnode.png create mode 100644 doc/html/ftv2mnode.png create mode 100644 doc/html/ftv2node.png create mode 100644 doc/html/ftv2plastnode.png create mode 100644 doc/html/ftv2pnode.png create mode 100644 doc/html/ftv2splitbar.png create mode 100644 doc/html/ftv2vertline.png create mode 100644 fuzz/README.md create mode 100755 fuzz/build.sh create mode 100644 fuzz/tokener_parse_ex_fuzzer.cc create mode 100644 fuzz/tokener_parse_ex_fuzzer.dict diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b38781..5e828ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.7) cmake_policy(SET CMP0048 NEW) -project(json-c VERSION 0.13) +project(json-c VERSION 0.13.1) include(CheckSymbolExists) diff --git a/ChangeLog b/ChangeLog index e079337..8681225 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,17 @@ +0.13.1 (up to commit 0f814e5, 2018/03/04) +========================================= + +* Bump the major version of the .so library generated up to 4.0 to avoid + conflicts because some downstream packagers of json-c had already done + their own bump to ".so.3" for a much older 0.12 release. +* Add const size_t json_c_object_sizeof() +* Avoid invalid free (and thus a segfault) when ref_count gets < 0 +* PR#394: fix handling of custom double formats that include a ".0" +* Avoid uninitialized variable warnings in json_object_object_foreach +* Issue #396: fix build for certain uClibc based systems. +* Add a top level fuzz directory for fuzzers run by OSS-Fuzz + 0.13 (up to commit 5dae561, 2017/11/29) ================================= diff --git a/Doxyfile b/Doxyfile index aa7face..a7e6ac2 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = json-c # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 0.13 +PROJECT_NUMBER = 0.13.1 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/Makefile.am b/Makefile.am index 7e42185..fb27569 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +#ACLOCAL_AMFLAGS = -I autoconf-archive/m4 + EXTRA_DIST = README.md README.html EXTRA_DIST += config.h.win32 EXTRA_DIST += Doxyfile @@ -42,7 +44,7 @@ noinst_HEADERS=\ random_seed.h \ strerror_override.h -libjson_c_la_LDFLAGS = -version-info 3:1:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@ +libjson_c_la_LDFLAGS = -version-info 4:0:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@ libjson_c_la_SOURCES = \ arraylist.c \ diff --git a/Makefile.in b/Makefile.in index ce9e799..9cbc906 100644 --- a/Makefile.in +++ b/Makefile.in @@ -14,6 +14,8 @@ @SET_MAKE@ +#ACLOCAL_AMFLAGS = -I autoconf-archive/m4 + VPATH = @srcdir@ @@ -418,7 +420,7 @@ noinst_HEADERS = \ random_seed.h \ strerror_override.h -libjson_c_la_LDFLAGS = -version-info 3:1:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@ +libjson_c_la_LDFLAGS = -version-info 4:0:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@ libjson_c_la_SOURCES = \ arraylist.c \ debug.c \ diff --git a/config.h.win32 b/config.h.win32 index fc4c4b0..798343a 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -175,7 +175,7 @@ #define PACKAGE_NAME "JSON C Library" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "JSON C Library 0.13" +#define PACKAGE_STRING "JSON C Library 0.13.1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "json-c" @@ -184,13 +184,13 @@ #define PACKAGE_URL "https://github.com/json-c/json-c" /* Define to the version of this package. */ -#define PACKAGE_VERSION "0.13" +#define PACKAGE_VERSION "0.13.1" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "0.13" +#define VERSION "0.13.1" /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff --git a/configure b/configure index 88b9e4b..263d37d 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for json-c 0.13. +# Generated by GNU Autoconf 2.69 for json-c 0.13.1. # # Report bugs to . # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='json-c' PACKAGE_TARNAME='json-c' -PACKAGE_VERSION='0.13' -PACKAGE_STRING='json-c 0.13' +PACKAGE_VERSION='0.13.1' +PACKAGE_STRING='json-c 0.13.1' PACKAGE_BUGREPORT='json-c@googlegroups.com' PACKAGE_URL='' @@ -1313,7 +1313,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures json-c 0.13 to adapt to many kinds of systems. +\`configure' configures json-c 0.13.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1383,7 +1383,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of json-c 0.13:";; + short | recursive ) echo "Configuration of json-c 0.13.1:";; esac cat <<\_ACEOF @@ -1492,7 +1492,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -json-c configure 0.13 +json-c configure 0.13.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1961,7 +1961,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by json-c $as_me 0.13, which was +It was created by json-c $as_me 0.13.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2825,7 +2825,7 @@ fi # Define the identity of the package. PACKAGE='json-c' - VERSION='0.13' + VERSION='0.13.1' cat >>confdefs.h <<_ACEOF @@ -12508,7 +12508,7 @@ done -for flag in -D_GNU_SOURCE -D_REENTRANT; do +for flag in -D_GNU_SOURCE; do as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 $as_echo_n "checking whether C compiler accepts $flag... " >&6; } @@ -12580,6 +12580,123 @@ fi done +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatibility with _REENTRANT and toolchain headers" >&5 +$as_echo_n "checking for compatibility with _REENTRANT and toolchain headers... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +/* uClibc toolchains without threading barf when _REENTRANT is defined */ +#define _REENTRANT 1 +#include +int main () +{ + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + + + +for flag in -D_REENTRANT; do + as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 +$as_echo_n "checking whether C compiler accepts $flag... " >&6; } +if eval \${$as_CACHEVAR+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ax_check_save_flags=$CFLAGS + CFLAGS="$CFLAGS $flag" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_CACHEVAR=yes" +else + eval "$as_CACHEVAR=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS=$ax_check_save_flags +fi +eval ac_res=\$$as_CACHEVAR + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : + +if ${CFLAGS+:} false; then : + + case " $CFLAGS " in #( + *" $flag "*) : + { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 + (: CFLAGS already contains $flag) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } ;; #( + *) : + + as_fn_append CFLAGS " $flag" + { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + (: CFLAGS="$CFLAGS") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + ;; +esac + +else + + CFLAGS=$flag + { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 + (: CFLAGS="$CFLAGS") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + +fi + +else + : +fi + +done + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 $as_echo_n "checking size of int... " >&6; } if ${ac_cv_sizeof_int+:} false; then : @@ -13314,7 +13431,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by json-c $as_me 0.13, which was +This file was extended by json-c $as_me 0.13.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13380,7 +13497,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -json-c config.status 0.13 +json-c config.status 0.13.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 024c5aa..46c37dc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_PREREQ(2.64) # Process this file with autoconf to produce a configure script. -AC_INIT([json-c], 0.13, [json-c@googlegroups.com]) +AC_INIT([json-c], 0.13.1, [json-c@googlegroups.com]) AM_INIT_AUTOMAKE @@ -167,7 +167,28 @@ AC_SUBST(JSON_BSYMBOLIC_LDFLAGS) AX_APPEND_COMPILE_FLAGS([-Wall -Werror -Wcast-qual -Wno-error=deprecated-declarations]) AX_APPEND_COMPILE_FLAGS([-Wextra -Wwrite-string -Wno-unused-parameter]) -AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE -D_REENTRANT]) +AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE]) + +AC_LANG_PUSH([C]) +AC_MSG_CHECKING([for compatibility with _REENTRANT and toolchain headers]) +AC_LINK_IFELSE( +[ + AC_LANG_SOURCE([[ +/* uClibc toolchains without threading barf when _REENTRANT is defined */ +#define _REENTRANT 1 +#include +int main () +{ + return 0; +} +]])], [ + AC_MSG_RESULT(yes) + AX_APPEND_COMPILE_FLAGS([-D_REENTRANT]) +], [ + AC_MSG_RESULT(no) +]) +AC_LANG_POP([C]) + AX_COMPILE_CHECK_SIZEOF(int) AX_COMPILE_CHECK_SIZEOF(long) diff --git a/doc/html/README_8md.html b/doc/html/README_8md.html index 09c589b..ff99920 100644 --- a/doc/html/README_8md.html +++ b/doc/html/README_8md.html @@ -3,8 +3,7 @@ - - + json-c: README.md File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -45,9 +50,9 @@ $(function() {
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 9263f56..72c1988 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -3,8 +3,7 @@ - - + json-c: Data Structures @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -59,9 +64,9 @@ $(function() {
diff --git a/doc/html/arraylist_8h.html b/doc/html/arraylist_8h.html index 1ca054a..9ecb5d5 100644 --- a/doc/html/arraylist_8h.html +++ b/doc/html/arraylist_8h.html @@ -3,8 +3,7 @@ - - + json-c: arraylist.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -63,14 +68,14 @@ Macros - - + +

Typedefs

typedef void() array_list_free_fn(void *data)
 
typedef void( array_list_free_fn )(void *data)
 
typedef struct array_list array_list
 
- + @@ -92,9 +97,7 @@ Functions

Detailed Description

Internal methods for working with json_type_array objects. Although this is exposed by the json_object_get_array() method, it is not recommended for direct use.

Macro Definition Documentation

- -

◆ ARRAY_LIST_DEFAULT_SIZE

- +

Functions

struct array_listarray_list_new (array_list_free_fn *free_fn)
struct array_listarray_list_new (array_list_free_fn *free_fn)
 
void array_list_free (struct array_list *al)
 
@@ -107,9 +110,7 @@ Functions

Typedef Documentation

- -

◆ array_list

- +
@@ -121,14 +122,12 @@ Functions - -

◆ array_list_free_fn

- +
- +
typedef void() array_list_free_fn(void *data)typedef void( array_list_free_fn)(void *data)
@@ -136,9 +135,7 @@ Functions

Function Documentation

- -

◆ array_list_add()

- +
@@ -164,9 +161,7 @@ Functions - -

◆ array_list_bsearch()

- +
@@ -198,9 +193,7 @@ Functions - -

◆ array_list_del_idx()

- +
@@ -232,9 +225,7 @@ Functions - -

◆ array_list_free()

- +
@@ -250,9 +241,7 @@ Functions - -

◆ array_list_get_idx()

- +
@@ -278,9 +267,7 @@ Functions - -

◆ array_list_length()

- +
@@ -296,16 +283,14 @@ Functions - -

◆ array_list_new()

- +
- + @@ -314,9 +299,7 @@ Functions - -

◆ array_list_put_idx()

- +
struct array_list* array_list_new (array_list_free_fnarray_list_free_fn free_fn)
@@ -348,9 +331,7 @@ Functions - -

◆ array_list_sort()

- +
@@ -379,9 +360,9 @@ Functions diff --git a/doc/html/bits_8h.html b/doc/html/bits_8h.html index 9cf544a..944aa90 100644 --- a/doc/html/bits_8h.html +++ b/doc/html/bits_8h.html @@ -3,8 +3,7 @@ - - +json-c: bits.h File Reference @@ -17,9 +16,9 @@
- @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -66,9 +71,7 @@ Macros

Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd. Michael Clark micha.nosp@m.el@m.nosp@m.etapa.nosp@m.radi.nosp@m.gm.co.nosp@m.m

This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See COPYING for details.

Macro Definition Documentation

- -

◆ error_description

- +
@@ -85,9 +88,7 @@ Macros - -

◆ error_ptr

- +
@@ -104,9 +105,7 @@ Macros - -

◆ hexdigit

- +
@@ -123,9 +122,7 @@ Macros - -

◆ is_error

- +
@@ -145,9 +142,9 @@ Macros diff --git a/doc/html/classes.html b/doc/html/classes.html index ba882df..256a994 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -3,8 +3,7 @@ - - +json-c: Data Structure Index @@ -17,9 +16,9 @@
- @@ -27,23 +26,29 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
Data Structure Index
-
a | d | j | l | p
- +
A | D | J | L | P
+
@@ -57,13 +62,13 @@ $(function() {
  a  
  j  
json_object_iterator   lh_table   
json_object::data   lh_entry   
-
a | d | j | l | p
+
A | D | J | L | P
diff --git a/doc/html/debug_8h.html b/doc/html/debug_8h.html index 38c4a19..b2cd5be 100644 --- a/doc/html/debug_8h.html +++ b/doc/html/debug_8h.html @@ -3,8 +3,7 @@ - - + json-c: debug.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -55,7 +60,7 @@ Macros   #define JASSERT(cond)   do {} while(0)   -#define MC_ERROR(x, ...)   mc_error(x, ##__VA_ARGS__) +#define MC_ERROR(x,...)   mc_error(x, ##__VA_ARGS__)   #define MC_SET_DEBUG(x)   if (0) mc_set_debug(x)   @@ -63,9 +68,9 @@ Macros   #define MC_SET_SYSLOG(x)   if (0) mc_set_syslog(x)   -#define MC_DEBUG(x, ...)   if (0) mc_debug(x, ##__VA_ARGS__) +#define MC_DEBUG(x,...)   if (0) mc_debug(x, ##__VA_ARGS__)   -#define MC_INFO(x, ...)   if (0) mc_info(x, ##__VA_ARGS__) +#define MC_INFO(x,...)   if (0) mc_info(x, ##__VA_ARGS__)  

Detailed Description

Do not use, json-c internal, may be changed or removed at any time.

Macro Definition Documentation

- -

◆ __STRING

- +

@@ -86,9 +91,7 @@ Functions

@@ -104,9 +107,7 @@ Functions - -

◆ JASSERT

- +
@@ -122,9 +123,7 @@ Functions - -

◆ MC_DEBUG

- +
@@ -150,9 +149,7 @@ Functions - -

◆ MC_ERROR

- +
@@ -178,9 +175,7 @@ Functions - -

◆ MC_GET_DEBUG

- +
@@ -195,9 +190,7 @@ Functions - -

◆ MC_INFO

- +
@@ -223,9 +216,7 @@ Functions - -

◆ MC_SET_DEBUG

- +
@@ -241,9 +232,7 @@ Functions - -

◆ MC_SET_SYSLOG

- +
@@ -260,9 +249,7 @@ Functions

Function Documentation

- -

◆ mc_debug()

- +
@@ -288,9 +275,7 @@ Functions - -

◆ mc_error()

- +
@@ -316,9 +301,7 @@ Functions - -

◆ mc_get_debug()

- +
@@ -334,9 +317,7 @@ Functions - -

◆ mc_info()

- +
@@ -362,9 +343,7 @@ Functions - -

◆ mc_set_debug()

- +
@@ -380,9 +359,7 @@ Functions - -

◆ mc_set_syslog()

- +
@@ -401,9 +378,9 @@ Functions diff --git a/doc/html/deprecated.html b/doc/html/deprecated.html index adac0e8..5d7c923 100644 --- a/doc/html/deprecated.html +++ b/doc/html/deprecated.html @@ -3,8 +3,7 @@ - - +json-c: Deprecated List @@ -17,9 +16,9 @@
- @@ -27,15 +26,15 @@
+
json-c -  0.13 +  0.13.1
- - - - - + +
@@ -67,9 +66,9 @@ $(function() {
diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css index 4f1ab91..02e8b01 100644 --- a/doc/html/doxygen.css +++ b/doc/html/doxygen.css @@ -1,13 +1,9 @@ -/* The standard CSS for doxygen 1.8.13 */ +/* The standard CSS for doxygen 1.8.8 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; } -p.reference, p.definition { - font: 400 14px/22px Roboto,sans-serif; -} - /* @group Heading Levels */ h1.groupheader { @@ -177,7 +173,7 @@ pre.fragment { } div.fragment { - padding: 0px; + padding: 4px 6px; margin: 4px 8px 4px 2px; background-color: #FBFCFD; border: 1px solid #C4CFE5; @@ -210,11 +206,6 @@ div.line { transition-duration: 0.5s; } -div.line:after { - content:"\000A"; - white-space: pre; -} - div.line.glow { background-color: cyan; box-shadow: 0 0 10px cyan; @@ -236,16 +227,7 @@ span.lineno a:hover { background-color: #C8C8C8; } -.lineno { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -div.ah, span.ah { +div.ah { background-color: black; font-weight: bold; color: #ffffff; @@ -260,16 +242,7 @@ div.ah, span.ah { -webkit-box-shadow: 2px 2px 3px #999; -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); } div.groupHeader { @@ -514,29 +487,6 @@ table.memberdecls { /* Styles for detailed member documentation */ -.memtitle { - padding: 8px; - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; - background-image: url('nav_f.png'); - background-repeat: repeat-x; - background-color: #E2E8F2; - line-height: 1.25; - font-weight: 300; - float:left; -} - -.permalink -{ - font-size: 65%; - display: inline-block; - vertical-align: middle; -} - .memtemplate { font-size: 80%; color: #4665A2; @@ -575,7 +525,7 @@ table.memberdecls { } .memname { - font-weight: 400; + font-weight: bold; margin-left: 6px; } @@ -591,24 +541,24 @@ table.memberdecls { color: #253555; font-weight: bold; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #DFE5F1; + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; /* opera specific markup */ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); border-top-right-radius: 4px; + border-top-left-radius: 4px; /* firefox specific markup */ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; /* webkit specific markup */ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; } -.overload { - font-family: "courier new",courier,monospace; - font-size: 65%; -} - .memdoc, dl.reflist dd { border-bottom: 1px solid #A8B8D9; border-left: 1px solid #A8B8D9; @@ -823,7 +773,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('folderopen.png'); + background-image:url('ftv2folderopen.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; @@ -834,7 +784,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('folderclosed.png'); + background-image:url('ftv2folderclosed.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; @@ -845,7 +795,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('doc.png'); + background-image:url('ftv2doc.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; @@ -873,10 +823,6 @@ address { color: #2A3D61; } -table.doxtable caption { - caption-side: top; -} - table.doxtable { border-collapse:collapse; margin-top: 4px; @@ -950,7 +896,6 @@ table.fieldtable { padding-bottom: 4px; padding-top: 5px; text-align:left; - font-weight: 400; -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-left-radius: 4px; @@ -1043,18 +988,6 @@ div.summary a white-space: nowrap; } -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - div.ingroups { font-size: 8pt; @@ -1166,11 +1099,6 @@ dl.section dd { border: 0px none; } -#projectalign -{ - vertical-align: middle; -} - #projectname { font: 300% Tahoma, Arial,sans-serif; @@ -1215,11 +1143,6 @@ dl.section dd { text-align: center; } -.plantumlgraph -{ - text-align: center; -} - .diagraph { text-align: center; @@ -1259,7 +1182,7 @@ div.toc { border-radius: 7px 7px 7px 7px; float: right; height: auto; - margin: 0 8px 10px 10px; + margin: 0 20px 10px 10px; width: 200px; } @@ -1515,82 +1438,3 @@ tr.heading h2 { } } -/* @group Markdown */ - -/* -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTableHead tr { -} - -table.markdownTableBodyLeft td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft { - text-align: left -} - -th.markdownTableHeadRight { - text-align: right -} - -th.markdownTableHeadCenter { - text-align: center -} -*/ - -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTable tr { -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft, td.markdownTableBodyLeft { - text-align: left -} - -th.markdownTableHeadRight, td.markdownTableBodyRight { - text-align: right -} - -th.markdownTableHeadCenter, td.markdownTableBodyCenter { - text-align: center -} - - -/* @end */ diff --git a/doc/html/files.html b/doc/html/files.html index a8fbc73..4c0da83 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -3,8 +3,7 @@ - - + json-c: File List @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -71,9 +76,9 @@ $(function() {
diff --git a/doc/html/ftv2blank.png b/doc/html/ftv2blank.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/doc/html/ftv2doc.png b/doc/html/ftv2doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/doc/html/ftv2folderclosed.png b/doc/html/ftv2folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/doc/html/ftv2lastnode.png b/doc/html/ftv2lastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/doc/html/ftv2link.png b/doc/html/ftv2link.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/doc/html/ftv2mlastnode.png b/doc/html/ftv2mlastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/doc/html/ftv2mnode.png b/doc/html/ftv2mnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/doc/html/ftv2node.png b/doc/html/ftv2node.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/doc/html/ftv2plastnode.png b/doc/html/ftv2plastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..c6ee22f937a07d1dbfc27c669d11f8ed13e2f152 GIT binary patch literal 229 zcmV^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/doc/html/ftv2pnode.png b/doc/html/ftv2pnode.png new file mode 100644 index 0000000000000000000000000000000000000000..c6ee22f937a07d1dbfc27c669d11f8ed13e2f152 GIT binary patch literal 229 zcmV^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/doc/html/ftv2splitbar.png b/doc/html/ftv2splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/doc/html/ftv2vertline.png b/doc/html/ftv2vertline.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/doc/html/functions.html b/doc/html/functions.html index 222dd69..881ef5c 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -3,8 +3,7 @@ - - + json-c: Data Fields @@ -17,9 +16,9 @@ - @@ -27,20 +26,56 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all struct and union fields with links to the structures/unions they belong to:
-

- _ -

    +

    - _ -

    • _delete : json_object
    • @@ -62,14 +97,14 @@ $(function() {
    -

    - a -

diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html index 13d68de..8127c04 100644 --- a/doc/html/functions_vars.html +++ b/doc/html/functions_vars.html @@ -3,8 +3,7 @@ - - + json-c: Data Fields - Variables @@ -17,9 +16,9 @@ - @@ -27,20 +26,56 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
  -

- _ -

    +

    - _ -

    • _delete : json_object
    • @@ -62,14 +97,14 @@ $(function() {
    -

    - a -

diff --git a/doc/html/globals.html b/doc/html/globals.html index 1c585b5..076e835 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- _ -

    +

    - _ -

    • __STRING : debug.h
    • @@ -66,9 +99,9 @@ $(function() {
diff --git a/doc/html/globals_a.html b/doc/html/globals_a.html index eaac1e3..a960024 100644 --- a/doc/html/globals_a.html +++ b/doc/html/globals_a.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- a -

diff --git a/doc/html/globals_defs.html b/doc/html/globals_defs.html index 1c0244c..110a516 100644 --- a/doc/html/globals_defs.html +++ b/doc/html/globals_defs.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
  -

- _ -

    +

    - _ -

    • __STRING : debug.h
    • @@ -56,14 +89,14 @@ $(function() {
    -

    - a -

      +

      - a -

      -

      - e -

        +

        - e -

        • error_description : bits.h
        • @@ -73,14 +106,14 @@ $(function() {
        -

        - f -

diff --git a/doc/html/globals_e.html b/doc/html/globals_e.html index 8f5e6d2..b595ae3 100644 --- a/doc/html/globals_e.html +++ b/doc/html/globals_e.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- e -

    +

    - e -

    • error_description : bits.h
    • @@ -51,9 +84,9 @@ $(function() {
diff --git a/doc/html/globals_enum.html b/doc/html/globals_enum.html index 2013d8c..a698b73 100644 --- a/doc/html/globals_enum.html +++ b/doc/html/globals_enum.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,15 +26,32 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + +
 
    @@ -52,9 +68,9 @@ $(function() {
diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html index 06173cf..ba7c8b3 100644 --- a/doc/html/globals_eval.html +++ b/doc/html/globals_eval.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,42 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
  -

- j -

    +

    - j -

    • json_tokener_continue : json_tokener.h
    • @@ -186,9 +207,9 @@ $(function() {
diff --git a/doc/html/globals_f.html b/doc/html/globals_f.html index dc911fc..75064ea 100644 --- a/doc/html/globals_f.html +++ b/doc/html/globals_f.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- f -

diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html index e9246fd..5d43b44 100644 --- a/doc/html/globals_func.html +++ b/doc/html/globals_func.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,48 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
  -

- _ -

    +

    - _ -

    -

    - a -

      +

      - a -

      • array_list_add() : arraylist.h
      • @@ -81,7 +108,10 @@ $(function() {
      -

      - j -

        +

        - j -

        -

        - l -

          +

          - l -

          • lh_abort() : linkhash.h
          • @@ -392,7 +422,7 @@ $(function() {
          -

          - m -

            +

            - m -

            • mc_debug() : debug.h
            • @@ -414,7 +444,7 @@ $(function() {
            -

            - p -

              +

              - p -

              • printbuf_free() : printbuf.h
              • @@ -433,7 +463,7 @@ $(function() {
              -

              - s -

                +

                - s -

                • sprintbuf() : printbuf.h
                • @@ -441,9 +471,9 @@ $(function() {
diff --git a/doc/html/globals_h.html b/doc/html/globals_h.html index 2d86cf4..09925df 100644 --- a/doc/html/globals_h.html +++ b/doc/html/globals_h.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- h -

    +

    - h -

    • HAVE_DECL_INFINITY : math_compat.h
    • @@ -54,9 +87,9 @@ $(function() {
diff --git a/doc/html/globals_i.html b/doc/html/globals_i.html index ab84ada..f38cf90 100644 --- a/doc/html/globals_i.html +++ b/doc/html/globals_i.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- i -

    +

    - i -

diff --git a/doc/html/globals_j.html b/doc/html/globals_j.html index f31e3d7..d01dbd3 100644 --- a/doc/html/globals_j.html +++ b/doc/html/globals_j.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,26 +26,63 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- j -

diff --git a/doc/html/globals_l.html b/doc/html/globals_l.html index 6469788..8500331 100644 --- a/doc/html/globals_l.html +++ b/doc/html/globals_l.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- l -

diff --git a/doc/html/globals_m.html b/doc/html/globals_m.html index 4ca8251..26163be 100644 --- a/doc/html/globals_m.html +++ b/doc/html/globals_m.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- m -

diff --git a/doc/html/globals_n.html b/doc/html/globals_n.html index 2f60a80..d39c38b 100644 --- a/doc/html/globals_n.html +++ b/doc/html/globals_n.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- n -

diff --git a/doc/html/globals_p.html b/doc/html/globals_p.html index cde10f1..7aef3ec 100644 --- a/doc/html/globals_p.html +++ b/doc/html/globals_p.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- p -

diff --git a/doc/html/globals_s.html b/doc/html/globals_s.html index a0a8ede..72278f5 100644 --- a/doc/html/globals_s.html +++ b/doc/html/globals_s.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- s -

diff --git a/doc/html/globals_t.html b/doc/html/globals_t.html index 91a3f4b..508bf4f 100644 --- a/doc/html/globals_t.html +++ b/doc/html/globals_t.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,20 +26,54 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + + +
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-

- t -

    +

    - t -

    • THIS_FUNCTION_IS_DEPRECATED : json_object.h
    • @@ -51,9 +84,9 @@ $(function() {
diff --git a/doc/html/globals_type.html b/doc/html/globals_type.html index f397d52..53be580 100644 --- a/doc/html/globals_type.html +++ b/doc/html/globals_type.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,15 +26,32 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + +
 
diff --git a/doc/html/globals_vars.html b/doc/html/globals_vars.html index 0d11c98..d82a613 100644 --- a/doc/html/globals_vars.html +++ b/doc/html/globals_vars.html @@ -3,8 +3,7 @@ - - + json-c: Globals @@ -17,9 +16,9 @@ - @@ -27,15 +26,32 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + + +
 
    @@ -61,9 +77,9 @@ $(function() {
diff --git a/doc/html/index.html b/doc/html/index.html index a88863f..d220723 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,8 +3,7 @@ - - + json-c: `json-c` @@ -17,9 +16,9 @@ - @@ -27,15 +26,15 @@
+
json-c -  0.13 +  0.13.1
- - - - - + +
@@ -53,11 +52,11 @@ $(function() {

JSON-C - A JSON implementation in C

Build Status

@@ -81,21 +80,34 @@ $(function() {

Build instructions:

json-c GitHub repo: https://github.com/json-c/json-c

-
$ git clone https://github.com/json-c/json-c.git
$ cd json-c
$ sh autogen.sh

followed by

-
$ ./configure # --enable-threading
$ make
$ make install

To build and run the test programs:

-
$ make check
$ make USE_VALGRIND=0 check # optionally skip using valgrind

Install prerequisites

+

```sh $ git clone https://github.com/json-c/json-c.git $ cd json-c $ sh autogen.sh ```

+

followed by

+

```sh $ ./configure # –enable-threading $ make $ make install ```

+

To build and run the test programs:

+

```sh $ make check $ make USE_VALGRIND=0 check # optionally skip using valgrind ```

+

Install prerequisites

If you are on a relatively modern system, you'll likely be able to install the prerequisites using your OS's packaging system.

-

### Install using apt (e.g. Ubuntu 16.04.2 LTS)

sudo apt install git
sudo apt install autoconf automake libtool
sudo apt install valgrind # optional

Then start from the "git clone" command, above.

+

Install using apt (e.g. Ubuntu 16.04.2 LTS)

+

```sh sudo apt install git sudo apt install autoconf automake libtool sudo apt install valgrind # optional ```

+

Then start from the "git clone" command, above.

Manually install and build autoconf, automake and libtool

For older OS's that don't have up-to-date version of the packages will require a bit more work. For example, CentOS release 5.11, etc...

-
curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
curl -O http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
curl -O http://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.gz
tar xzf autoconf-2.69.tar.gz
tar xzf automake-1.15.tar.gz
tar xzf libtool-2.2.6b.tar.gz
export PATH=${HOME}/ac_install/bin:$PATH
(cd autoconf-2.69 && \
./configure --prefix ${HOME}/ac_install && \
make && \
make install)
(cd automake-1.15 && \
./configure --prefix ${HOME}/ac_install && \
make && \
make install)
(cd libtool-2.2.6b && \
./configure --prefix ${HOME}/ac_install && \
make && \
make install)

Building with partial threading support

+

```sh curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz curl -O http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz curl -O http://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.gz

+

tar xzf autoconf-2.69.tar.gz tar xzf automake-1.15.tar.gz tar xzf libtool-2.2.6b.tar.gz

+

export PATH=${HOME}/ac_install/bin:$PATH

+

(cd autoconf-2.69 && \ ./configure –prefix ${HOME}/ac_install && \ make && \ make install)

+

(cd automake-1.15 && \ ./configure –prefix ${HOME}/ac_install && \ make && \ make install)

+

(cd libtool-2.2.6b && \ ./configure –prefix ${HOME}/ac_install && \ make && \ make install) ```

+

Building with partial threading support

Although json-c does not support fully multi-threaded access to object trees, it has some code to help make use in threaded programs a bit safer. Currently, this is limited to using atomic operations for json_object_get() and json_object_put().

Since this may have a performance impact, of at least 3x slower according to https://stackoverflow.com/a/11609063, it is disabled by default. You may turn it on by adjusting your configure command with: –enable-threading

Separately, the default hash function used for object field keys, lh_char_hash, uses a compare-and-swap operation to ensure the randomly seed is only generated once. Because this is a one-time operation, it is always compiled in when the compare-and-swap operation is available.

Linking to libjson-c

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

-
CFLAGS += $(shell pkg-config --cflags json-c)
LDFLAGS += $(shell pkg-config --libs json-c)

Without pkgconfig, you would do something like this:

-
JSON_C_DIR=/path/to/json_c/install
CFLAGS += -I$(JSON_C_DIR)/include/json-c
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c

Using json-c

+

```make CFLAGS += $(shell pkg-config –cflags json-c) LDFLAGS += $(shell pkg-config –libs json-c) ```

+

Without pkgconfig, you would do something like this:

+

```make JSON_C_DIR=/path/to/json_c/install CFLAGS += -I/include/json-c LDFLAGS+= -L/lib -ljson-c ```

+

Using json-c

To use json-c you can either include json.h, or preferrably, one of the following more specific header files:

  • json_object.h - Core types and methods.
  • @@ -109,9 +121,9 @@ $(function() {
diff --git a/doc/html/issues__closed__for__0_813_8md.html b/doc/html/issues__closed__for__0_813_8md.html index a842b30..f66e6cc 100644 --- a/doc/html/issues__closed__for__0_813_8md.html +++ b/doc/html/issues__closed__for__0_813_8md.html @@ -3,8 +3,7 @@ - - + json-c: issues_closed_for_0.13.md File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -45,9 +50,9 @@ $(function() {
diff --git a/doc/html/json_8h.html b/doc/html/json_8h.html index b592e9c..b0b5c70 100644 --- a/doc/html/json_8h.html +++ b/doc/html/json_8h.html @@ -3,8 +3,7 @@ - - + json-c: json.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -50,9 +55,9 @@ $(function() {
diff --git a/doc/html/json__c__version_8h.html b/doc/html/json__c__version_8h.html index bfdfbff..6565174 100644 --- a/doc/html/json__c__version_8h.html +++ b/doc/html/json__c__version_8h.html @@ -3,8 +3,7 @@ - - + json-c: json_c_version.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -55,11 +60,11 @@ Macros   #define JSON_C_MINOR_VERSION   13   -#define JSON_C_MICRO_VERSION   00 +#define JSON_C_MICRO_VERSION   01   #define JSON_C_VERSION_NUM   -#define JSON_C_VERSION   "0.13" +#define JSON_C_VERSION   "0.13.1"  

Detailed Description

Methods for retrieving the json-c version.

Macro Definition Documentation

- -

◆ JSON_C_MAJOR_VERSION

- +

@@ -72,9 +77,7 @@ Functions

@@ -86,23 +89,19 @@ Functions - -

◆ JSON_C_MICRO_VERSION

- +
- +
#define JSON_C_MICRO_VERSION   00#define JSON_C_MICRO_VERSION   01
- -

◆ JSON_C_MINOR_VERSION

- +
@@ -114,23 +113,19 @@ Functions - -

◆ JSON_C_VERSION

- +
- +
#define JSON_C_VERSION   "0.13"#define JSON_C_VERSION   "0.13.1"
- -

◆ JSON_C_VERSION_NUM

- +
@@ -139,15 +134,17 @@ Functions
-Value:
JSON_C_MICRO_VERSION)
#define JSON_C_MINOR_VERSION
Definition: json_c_version.h:16
+Value:
+ + +
#define JSON_C_MICRO_VERSION
Definition: json_c_version.h:17
+
#define JSON_C_MINOR_VERSION
Definition: json_c_version.h:16
#define JSON_C_MAJOR_VERSION
Definition: json_c_version.h:15

Function Documentation

- -

◆ json_c_version()

- +
@@ -165,9 +162,7 @@ Functions - -

◆ json_c_version_num()

- +
@@ -189,9 +184,9 @@ Functions diff --git a/doc/html/json__inttypes_8h.html b/doc/html/json__inttypes_8h.html index 24248b5..999f8ac 100644 --- a/doc/html/json__inttypes_8h.html +++ b/doc/html/json__inttypes_8h.html @@ -3,8 +3,7 @@ - - +json-c: json_inttypes.h File Reference @@ -17,9 +16,9 @@
- @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -58,9 +63,7 @@ Macros

Detailed Description

Do not use, json-c internal, may be changed or removed at any time.

Macro Definition Documentation

- -

◆ PRId64

- +
@@ -72,9 +75,7 @@ Macros - -

◆ SCNd64

- +
@@ -89,9 +90,9 @@ Macros diff --git a/doc/html/json__object_8h.html b/doc/html/json__object_8h.html index 9c192ec..2ae0031 100644 --- a/doc/html/json__object_8h.html +++ b/doc/html/json__object_8h.html @@ -3,8 +3,7 @@ - - +json-c: json_object.h File Reference @@ -17,9 +16,9 @@
- @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -62,6 +67,8 @@ Data Structures Macros #define THIS_FUNCTION_IS_DEPRECATED(func)   func   +#define JSON_C_CONST_FUNCTION(func)   func +  #define JSON_EXPORT   extern   #define JSON_OBJECT_DEF_HASH_ENTRIES   16 @@ -90,9 +97,9 @@ Macros   #define JSON_C_OPTION_THREAD   (1)   -#define json_object_object_foreach(obj, key, val) +#define json_object_object_foreach(obj, key, val)   -#define json_object_object_foreachC(obj, iter) +#define json_object_object_foreachC(obj, iter)   - - - - + + + + - - + +

@@ -104,14 +111,14 @@ Typedefs

typedef struct json_object json_object
 The core type for all type of JSON objects handled by json-c. More...
 
typedef void() json_object_delete_fn(struct json_object *jso, void *userdata)
 
typedef int() json_object_to_json_string_fn(struct json_object *jso, struct printbuf *pb, int level, int flags)
 
typedef void( json_object_delete_fn )(struct json_object *jso, void *userdata)
 
typedef int( json_object_to_json_string_fn )(struct json_object *jso, struct printbuf *pb, int level, int flags)
 
typedef enum json_type json_type
 
typedef int() json_c_shallow_copy_fn(json_object *src, json_object *parent, const char *key, size_t index, json_object **dst)
 
typedef int( json_c_shallow_copy_fn )(json_object *src, json_object *parent, const char *key, size_t index, json_object **dst)
 
@@ -146,9 +153,9 @@ Functions - + - + @@ -156,6 +163,8 @@ Functions + + @@ -230,24 +239,22 @@ Functions - +

Enumerations

 
JSON_EXPORT void * json_object_get_userdata (json_object *jso)
 
JSON_EXPORT void json_object_set_userdata (json_object *jso, void *userdata, json_object_delete_fn *user_delete)
JSON_EXPORT void json_object_set_userdata (json_object *jso, void *userdata, json_object_delete_fn *user_delete)
 
JSON_EXPORT void json_object_set_serializer (json_object *jso, json_object_to_json_string_fn *to_string_func, void *userdata, json_object_delete_fn *user_delete)
JSON_EXPORT void json_object_set_serializer (json_object *jso, json_object_to_json_string_fn *to_string_func, void *userdata, json_object_delete_fn *user_delete)
 
JSON_EXPORT struct json_objectjson_object_new_object (void)
 
 
JSON_EXPORT int json_object_object_length (const struct json_object *obj)
 
 JSON_C_CONST_FUNCTION (JSON_EXPORT size_t json_c_object_sizeof(void))
 
JSON_EXPORT int json_object_object_add (struct json_object *obj, const char *key, struct json_object *val)
 
JSON_EXPORT int json_object_object_add_ex (struct json_object *obj, const char *const key, struct json_object *const val, const unsigned opts)
 
JSON_EXPORT int json_object_equal (struct json_object *obj1, struct json_object *obj2)
 
JSON_EXPORT int json_object_deep_copy (struct json_object *src, struct json_object **dst, json_c_shallow_copy_fn *shallow_copy)
JSON_EXPORT int json_object_deep_copy (struct json_object *src, struct json_object **dst, json_c_shallow_copy_fn *shallow_copy)
 
- + - + - +

Variables

json_object_delete_fn json_object_free_userdata
json_object_delete_fn json_object_free_userdata
 
json_object_to_json_string_fn json_object_userdata_to_json_string
json_object_to_json_string_fn json_object_userdata_to_json_string
 
json_c_shallow_copy_fn json_c_shallow_copy_default
json_c_shallow_copy_fn json_c_shallow_copy_default
 

Detailed Description

Core json-c API. Start here, or with json_tokener.h.

Macro Definition Documentation

- -

◆ FALSE

- +
@@ -259,9 +266,23 @@ Variables - -

◆ JSON_C_OBJECT_ADD_KEY_IS_NEW

+ +
+
+
+ + + + + + + +
#define JSON_C_CONST_FUNCTION( func )   func
+
+
+
+
@@ -274,9 +295,7 @@ Variables - -

◆ JSON_C_OBJECT_KEY_IS_CONSTANT

- +
@@ -289,9 +308,7 @@ Variables - -

◆ JSON_C_OPTION_GLOBAL

- +
@@ -305,9 +322,7 @@ Variables - -

◆ JSON_C_OPTION_THREAD

- +
@@ -321,9 +336,7 @@ Variables - -

◆ JSON_C_TO_STRING_NOSLASHESCAPE

- +
@@ -336,9 +349,7 @@ Variables - -

◆ JSON_C_TO_STRING_NOZERO

- +
@@ -351,9 +362,7 @@ Variables - -

◆ JSON_C_TO_STRING_PLAIN

- +
@@ -366,9 +375,7 @@ Variables - -

◆ JSON_C_TO_STRING_PRETTY

- +
@@ -382,9 +389,7 @@ Variables - -

◆ JSON_C_TO_STRING_PRETTY_TAB

- +
@@ -398,9 +403,7 @@ Variables - -

◆ JSON_C_TO_STRING_SPACED

- +
@@ -413,9 +416,7 @@ Variables - -

◆ JSON_EXPORT

- +
@@ -427,9 +428,7 @@ Variables - -

◆ JSON_OBJECT_DEF_HASH_ENTRIES

- +
@@ -441,9 +440,7 @@ Variables - -

◆ json_object_object_foreach

- +
@@ -472,7 +469,18 @@ Variables
-Value:
char *key;\
struct json_object *val; \
struct lh_entry *entry ## key; \
struct lh_entry *entry_next ## key = NULL; \
for(entry ## key = json_object_get_object(obj)->head; \
(entry ## key ? ( \
key = (char*)lh_entry_k(entry ## key), \
val = (struct json_object*)lh_entry_v(entry ## key), \
entry_next ## key = entry ## key->next, \
entry ## key) : 0); \
entry ## key = entry_next ## key)
#define lh_entry_k(entry)
Definition: linkhash.h:392
+Value:
char *key = NULL;\
+
struct json_object *val = NULL; \
+
struct lh_entry *entry ## key; \
+
struct lh_entry *entry_next ## key = NULL; \
+
for(entry ## key = json_object_get_object(obj)->head; \
+
(entry ## key ? ( \
+
key = (char*)lh_entry_k(entry ## key), \
+
val = (struct json_object*)lh_entry_v(entry ## key), \
+
entry_next ## key = entry ## key->next, \
+
entry ## key) : 0); \
+
entry ## key = entry_next ## key)
+
#define lh_entry_k(entry)
Definition: linkhash.h:392
#define lh_entry_v(entry)
Definition: linkhash.h:400
JSON_EXPORT struct lh_table * json_object_get_object(const struct json_object *obj)
Definition: linkhash.h:85
@@ -491,9 +499,7 @@ Variables
- -

◆ json_object_object_foreachC

- +
@@ -516,7 +522,10 @@ Variables
-Value:
for(iter.entry = json_object_get_object(obj)->head; \
(iter.entry ? (iter.key = (char*)lh_entry_k(iter.entry), iter.val = (struct json_object*)lh_entry_v(iter.entry), iter.entry) : 0); \
iter.entry = iter.entry->next)
#define lh_entry_k(entry)
Definition: linkhash.h:392
+Value:
for(iter.entry = json_object_get_object(obj)->head; \
+
(iter.entry ? (iter.key = (char*)lh_entry_k(iter.entry), iter.val = (struct json_object*)lh_entry_v(iter.entry), iter.entry) : 0); \
+
iter.entry = iter.entry->next)
+
#define lh_entry_k(entry)
Definition: linkhash.h:392
#define lh_entry_v(entry)
Definition: linkhash.h:400
JSON_EXPORT struct lh_table * json_object_get_object(const struct json_object *obj)
Definition: json_object_private.h:27
@@ -530,9 +539,7 @@ Variables
- -

◆ THIS_FUNCTION_IS_DEPRECATED

- +
@@ -548,9 +555,7 @@ Variables - -

◆ TRUE

- +
@@ -563,9 +568,7 @@ Variables

Typedef Documentation

- -

◆ json_bool

- +
@@ -577,14 +580,12 @@ Variables - -

◆ json_c_shallow_copy_fn

- +
- +
typedef int() json_c_shallow_copy_fn(json_object *src, json_object *parent, const char *key, size_t index, json_object **dst)typedef int( json_c_shallow_copy_fn)(json_object *src, json_object *parent, const char *key, size_t index, json_object **dst)
@@ -595,9 +596,7 @@ Variables
- -

◆ json_object

- +
@@ -611,14 +610,12 @@ Variables - -

◆ json_object_delete_fn

- +
- +
typedef void() json_object_delete_fn(struct json_object *jso, void *userdata)typedef void( json_object_delete_fn)(struct json_object *jso, void *userdata)
@@ -626,9 +623,7 @@ Variables
- -

◆ json_object_iter

- +
@@ -640,14 +635,12 @@ Variables - -

◆ json_object_to_json_string_fn

- +
- +
typedef int() json_object_to_json_string_fn(struct json_object *jso, struct printbuf *pb, int level, int flags)typedef int( json_object_to_json_string_fn)(struct json_object *jso, struct printbuf *pb, int level, int flags)
@@ -655,9 +648,7 @@ Variables
- -

◆ json_type

- +
@@ -670,9 +661,7 @@ Variables

Enumeration Type Documentation

- -

◆ json_type

- +
@@ -682,21 +671,43 @@ Variables
- - - - - - - + + + + + + +
Enumerator
json_type_null 
json_type_boolean 
json_type_double 
json_type_int 
json_type_object 
json_type_array 
json_type_string 
Enumerator
json_type_null  +
json_type_boolean  +
json_type_double  +
json_type_int  +
json_type_object  +
json_type_array  +
json_type_string  +

Function Documentation

- -

◆ json_c_set_serialization_double_format()

+ +
+
+ + + + + + + + +
JSON_C_CONST_FUNCTION (JSON_EXPORT size_t  json_c_object_sizeofvoid)
+
+

Get the sizeof (struct json_object).

Returns
a size_t with the sizeof (struct json_object)
+
+
+
@@ -725,9 +736,7 @@ Variables - -

◆ json_object_array_add()

- +
@@ -762,9 +771,7 @@ Variables - -

◆ json_object_array_bsearch()

- +
@@ -808,9 +815,7 @@ Variables - -

◆ json_object_array_del_idx()

- +
@@ -853,9 +858,7 @@ Variables - -

◆ json_object_array_get_idx()

- +
@@ -889,9 +892,7 @@ Variables - -

◆ json_object_array_length()

- +
@@ -914,9 +915,7 @@ Variables - -

◆ json_object_array_put_idx()

- +
@@ -960,9 +959,7 @@ Variables - -

◆ json_object_array_sort()

- +
@@ -997,9 +994,7 @@ Variables - -

◆ json_object_deep_copy()

- +
@@ -1018,7 +1013,7 @@ Variables - + @@ -1042,9 +1037,7 @@ Variables - -

◆ json_object_double_to_json_string()

- +
json_c_shallow_copy_fnjson_c_shallow_copy_fn shallow_copy 
@@ -1081,7 +1074,10 @@ Variables

Serialize a json_object of type json_type_double to a string.

This function isn't meant to be called directly. Instead, you can set a custom format string for the serialization of this double using the following call (where "%.17g" actually is the default):

-
See also
printf(3) man page for format strings
+
1 jso = json_object_new_double(d);
+
2 json_object_set_serializer(jso, json_object_double_to_json_string,
+
3  "%.17g", NULL);
+
See also
printf(3) man page for format strings
Parameters
@@ -1094,9 +1090,7 @@ Variables - -

◆ json_object_equal()

- +
jsoThe json_type_double object that is serialized.
@@ -1137,9 +1131,7 @@ Variables - -

◆ json_object_get()

- +
@@ -1162,9 +1154,7 @@ Variables - -

◆ json_object_get_array()

- +
@@ -1187,9 +1177,7 @@ Variables - -

◆ json_object_get_boolean()

- +
@@ -1214,9 +1202,7 @@ Variables - -

◆ json_object_get_double()

- +
@@ -1244,9 +1230,7 @@ Variables - -

◆ json_object_get_int()

- +
@@ -1272,9 +1256,7 @@ Variables - -

◆ json_object_get_int64()

- +
@@ -1300,9 +1282,7 @@ Variables - -

◆ json_object_get_object()

- +
@@ -1325,9 +1305,7 @@ Variables - -

◆ json_object_get_string()

- +
@@ -1355,9 +1333,7 @@ Variables - -

◆ json_object_get_string_len()

- +
@@ -1382,9 +1358,7 @@ Variables - -

◆ json_object_get_type()

- +
@@ -1408,9 +1382,7 @@ Variables - -

◆ json_object_get_userdata()

- +
@@ -1433,9 +1405,7 @@ Variables - -

◆ json_object_int_inc()

- +
@@ -1471,9 +1441,7 @@ Variables - -

◆ json_object_is_type()

- +
@@ -1506,9 +1474,7 @@ Variables - -

◆ json_object_new_array()

- +
@@ -1525,9 +1491,7 @@ Variables - -

◆ json_object_new_boolean()

- +
@@ -1550,9 +1514,7 @@ Variables - -

◆ json_object_new_double()

- +
@@ -1577,9 +1539,7 @@ Variables - -

◆ json_object_new_double_s()

- +
@@ -1607,7 +1567,10 @@ Variables

Notes:

This is used by json_tokener_parse_ex() to allow for an exact re-serialization of a parsed object.

The userdata field is used to store the string representation, so it can't be used for other data if this function is used.

-

An equivalent sequence of calls is:

Parameters
+

An equivalent sequence of calls is:

1 jso = json_object_new_double(d);
+
2 json_object_set_serializer(jso, json_object_userdata_to_json_string,
+
3  strdup(ds), json_object_free_userdata);
+
Parameters
@@ -1617,9 +1580,7 @@ Variables - -

◆ json_object_new_int()

- +
dthe numeric value of the double.
dsthe string representation of the double. This will be copied.
@@ -1642,9 +1603,7 @@ Variables - -

◆ json_object_new_int64()

- +
@@ -1667,9 +1626,7 @@ Variables - -

◆ json_object_new_object()

- +
@@ -1687,9 +1644,7 @@ Variables - -

◆ json_object_new_string()

- +
@@ -1714,9 +1669,7 @@ Variables - -

◆ json_object_new_string_len()

- +
@@ -1742,9 +1695,7 @@ Variables - -

◆ json_object_object_add()

- +
@@ -1788,9 +1739,7 @@ Variables - -

◆ json_object_object_add_ex()

- +
@@ -1839,9 +1788,7 @@ Variables - -

◆ json_object_object_del()

- +
@@ -1876,9 +1823,7 @@ Variables - -

◆ json_object_object_get()

- +
@@ -1915,9 +1860,7 @@ Variables - -

◆ json_object_object_get_ex()

- +
@@ -1961,9 +1904,7 @@ Variables - -

◆ json_object_object_length()

- +
@@ -1985,9 +1926,7 @@ Variables - -

◆ json_object_put()

- +
@@ -2011,9 +1950,7 @@ Variables - -

◆ json_object_set_boolean()

- +
@@ -2049,9 +1986,7 @@ Variables - -

◆ json_object_set_double()

- +
@@ -2087,9 +2022,7 @@ Variables - -

◆ json_object_set_int()

- +
@@ -2125,9 +2058,7 @@ Variables - -

◆ json_object_set_int64()

- +
@@ -2163,9 +2094,7 @@ Variables - -

◆ json_object_set_serializer()

- +
@@ -2178,7 +2107,7 @@ Variables - + @@ -2190,7 +2119,7 @@ Variables - + @@ -2218,9 +2147,7 @@ Variables - -

◆ json_object_set_string()

- +
json_object_to_json_string_fnjson_object_to_json_string_fn to_string_func,
json_object_delete_fnjson_object_delete_fn user_delete 
@@ -2247,9 +2174,7 @@ Variables - -

◆ json_object_set_string_len()

- +
@@ -2292,9 +2217,7 @@ Variables - -

◆ json_object_set_userdata()

- +
@@ -2313,7 +2236,7 @@ Variables - + @@ -2339,9 +2262,7 @@ Variables - -

◆ json_object_to_json_string()

- +
json_object_delete_fnjson_object_delete_fn user_delete 
@@ -2364,9 +2285,7 @@ Variables - -

◆ json_object_to_json_string_ext()

- +
@@ -2401,9 +2320,7 @@ Variables - -

◆ json_object_to_json_string_length()

- +
@@ -2446,14 +2363,12 @@ Variables

Variable Documentation

- -

◆ json_c_shallow_copy_default

- +
- +
json_c_shallow_copy_fn json_c_shallow_copy_defaultjson_c_shallow_copy_fn json_c_shallow_copy_default
@@ -2463,14 +2378,12 @@ Variables
- -

◆ json_object_free_userdata

- +
- +
json_object_delete_fn json_object_free_userdatajson_object_delete_fn json_object_free_userdata
@@ -2485,14 +2398,12 @@ Variables
- -

◆ json_object_userdata_to_json_string

- +
- +
json_object_to_json_string_fn json_object_userdata_to_json_stringjson_object_to_json_string_fn json_object_userdata_to_json_string
@@ -2512,9 +2423,9 @@ Variables
diff --git a/doc/html/json__object__iterator_8h.html b/doc/html/json__object__iterator_8h.html index 5cb461b..1a5e2aa 100644 --- a/doc/html/json__object__iterator_8h.html +++ b/doc/html/json__object__iterator_8h.html @@ -3,8 +3,7 @@ - - + json-c: json_object_iterator.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
+
json-c -  0.13 +  0.13.1
- - - - - + + +
@@ -82,9 +87,7 @@ Functions
  • Reentrant: NO
  • Function Documentation

    - -

    ◆ json_object_iter_begin()

    - +
    @@ -106,12 +109,23 @@ Functions
    Returns
    json_object_iterator If the JSON Object has at least one pair, on return, the iterator refers to the first pair. If the JSON Object doesn't have any pairs, the returned iterator is equivalent to the "end" iterator for the same JSON Object instance.
    -
    struct json_object_iterator itEnd;
    struct json_object* obj;
    obj = json_tokener_parse("{'first':'george', 'age':100}");
    itEnd = json_object_iter_end(obj);
    while (!json_object_iter_equal(&it, &itEnd)) {
    printf("%s\n",
    }
    +
    1 struct json_object_iterator it;
    +
    2 struct json_object_iterator itEnd;
    +
    3 struct json_object* obj;
    +
    4 
    +
    5 obj = json_tokener_parse("{'first':'george', 'age':100}");
    +
    6 it = json_object_iter_begin(obj);
    +
    7 itEnd = json_object_iter_end(obj);
    +
    8 
    +
    9 while (!json_object_iter_equal(&it, &itEnd)) {
    +
    10  printf("%s\n",
    +
    11  json_object_iter_peek_name(&it));
    +
    12  json_object_iter_next(&it);
    +
    13 }
    +
    - -

    ◆ json_object_iter_end()

    - +
    @@ -140,9 +154,7 @@ For performance reasons, memorize the "end" iterator prior to any loop. - -

    ◆ json_object_iter_equal()

    - +
    @@ -179,9 +191,7 @@ For performance reasons, memorize the "end" iterator prior to any loop. - -

    ◆ json_object_iter_init_default()

    - +
    @@ -195,16 +205,16 @@ For performance reasons, memorize the "end" iterator prior to any loop.

    Initializes an iterator structure to a "default" value that is convenient for initializing an iterator variable to a default state (e.g., initialization list in a class' constructor).

    -
    Note
    The initialized value doesn't reference any specific pair, is considered an invalid iterator, and MUST NOT be passed to any json-c API that expects a valid iterator.
    +
    1 struct json_object_iterator iter = json_object_iter_init_default();
    +
    2 MyClass() : iter_(json_object_iter_init_default())
    +
    Note
    The initialized value doesn't reference any specific pair, is considered an invalid iterator, and MUST NOT be passed to any json-c API that expects a valid iterator.
    User and internal code MUST NOT make any assumptions about and dependencies on the value of the "default" iterator value.
    Returns
    json_object_iterator
    - -

    ◆ json_object_iter_next()

    - +
    @@ -228,9 +238,7 @@ User and internal code MUST NOT make any assumptions about and dependencies on t - -

    ◆ json_object_iter_peek_name()

    - +
    @@ -255,9 +263,7 @@ User and internal code MUST NOT make any assumptions about and dependencies on t - -

    ◆ json_object_iter_peek_value()

    - +
    @@ -285,9 +291,9 @@ User and internal code MUST NOT make any assumptions about and dependencies on t diff --git a/doc/html/json__object__private_8h.html b/doc/html/json__object__private_8h.html index a790faa..5d36c0a 100644 --- a/doc/html/json__object__private_8h.html +++ b/doc/html/json__object__private_8h.html @@ -3,8 +3,7 @@ - - +json-c: json_object_private.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -66,8 +71,8 @@ Macros - - + +

    Typedefs

    typedef void() json_object_private_delete_fn(struct json_object *o)
     
    typedef void( json_object_private_delete_fn )(struct json_object *o)
     
    @@ -84,9 +89,7 @@ Variables

    Detailed Description

    Do not use, json-c internal, may be changed or removed at any time.

    Macro Definition Documentation

    - -

    ◆ LEN_DIRECT_STRING_DATA

    - +

    Functions

    @@ -100,14 +103,12 @@ Variables

    Typedef Documentation

    - -

    ◆ json_object_private_delete_fn

    - +
    - +
    typedef void() json_object_private_delete_fn(struct json_object *o)typedef void( json_object_private_delete_fn)(struct json_object *o)
    @@ -115,9 +116,7 @@ Variables

    Function Documentation

    - -

    ◆ _json_c_set_last_err()

    - +
    @@ -144,9 +143,7 @@ Variables

    Variable Documentation

    - -

    ◆ json_hex_chars

    - +
    @@ -158,9 +155,7 @@ Variables - -

    ◆ json_number_chars

    - +
    @@ -175,9 +170,9 @@ Variables diff --git a/doc/html/json__pointer_8h.html b/doc/html/json__pointer_8h.html index 7997e31..c1416a2 100644 --- a/doc/html/json__pointer_8h.html +++ b/doc/html/json__pointer_8h.html @@ -3,8 +3,7 @@ - - +json-c: json_pointer.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -62,9 +67,7 @@ Functions

    Detailed Description

    JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.

    Function Documentation

    - -

    ◆ json_pointer_get()

    - +
    @@ -109,9 +112,7 @@ Functions - -

    ◆ json_pointer_getf()

    - +
    @@ -161,9 +162,7 @@ Functions - -

    ◆ json_pointer_set()

    - +
    @@ -209,9 +208,7 @@ Functions - -

    ◆ json_pointer_setf()

    - +
    @@ -264,9 +261,9 @@ Functions diff --git a/doc/html/json__tokener_8h.html b/doc/html/json__tokener_8h.html index a3e232b..b9d47c8 100644 --- a/doc/html/json__tokener_8h.html +++ b/doc/html/json__tokener_8h.html @@ -3,8 +3,7 @@ - - +json-c: json_tokener.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -157,9 +162,7 @@ Functions

    Detailed Description

    Methods to parse an input string into a tree of json_object objects.

    Macro Definition Documentation

    - -

    ◆ JSON_TOKENER_DEFAULT_DEPTH

    - +
    @@ -171,9 +174,7 @@ Functions - -

    ◆ JSON_TOKENER_STRICT

    - +
    @@ -189,9 +190,7 @@ Functions

    Typedef Documentation

    - -

    ◆ json_tokener

    - +
    @@ -205,9 +204,7 @@ Functions

    Enumeration Type Documentation

    - -

    ◆ json_tokener_error

    - +
    @@ -217,28 +214,41 @@ Functions
    - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
    Enumerator
    json_tokener_success 
    json_tokener_continue 
    json_tokener_error_depth 
    json_tokener_error_parse_eof 
    json_tokener_error_parse_unexpected 
    json_tokener_error_parse_null 
    json_tokener_error_parse_boolean 
    json_tokener_error_parse_number 
    json_tokener_error_parse_array 
    json_tokener_error_parse_object_key_name 
    json_tokener_error_parse_object_key_sep 
    json_tokener_error_parse_object_value_sep 
    json_tokener_error_parse_string 
    json_tokener_error_parse_comment 
    json_tokener_error_size 
    Enumerator
    json_tokener_success  +
    json_tokener_continue  +
    json_tokener_error_depth  +
    json_tokener_error_parse_eof  +
    json_tokener_error_parse_unexpected  +
    json_tokener_error_parse_null  +
    json_tokener_error_parse_boolean  +
    json_tokener_error_parse_number  +
    json_tokener_error_parse_array  +
    json_tokener_error_parse_object_key_name  +
    json_tokener_error_parse_object_key_sep  +
    json_tokener_error_parse_object_value_sep  +
    json_tokener_error_parse_string  +
    json_tokener_error_parse_comment  +
    json_tokener_error_size  +
    - -

    ◆ json_tokener_state

    - +
    @@ -248,39 +258,62 @@ Functions
    - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +
    Enumerator
    json_tokener_state_eatws 
    json_tokener_state_start 
    json_tokener_state_finish 
    json_tokener_state_null 
    json_tokener_state_comment_start 
    json_tokener_state_comment 
    json_tokener_state_comment_eol 
    json_tokener_state_comment_end 
    json_tokener_state_string 
    json_tokener_state_string_escape 
    json_tokener_state_escape_unicode 
    json_tokener_state_boolean 
    json_tokener_state_number 
    json_tokener_state_array 
    json_tokener_state_array_add 
    json_tokener_state_array_sep 
    json_tokener_state_object_field_start 
    json_tokener_state_object_field 
    json_tokener_state_object_field_end 
    json_tokener_state_object_value 
    json_tokener_state_object_value_add 
    json_tokener_state_object_sep 
    json_tokener_state_array_after_sep 
    json_tokener_state_object_field_start_after_sep 
    json_tokener_state_inf 
    Enumerator
    json_tokener_state_eatws  +
    json_tokener_state_start  +
    json_tokener_state_finish  +
    json_tokener_state_null  +
    json_tokener_state_comment_start  +
    json_tokener_state_comment  +
    json_tokener_state_comment_eol  +
    json_tokener_state_comment_end  +
    json_tokener_state_string  +
    json_tokener_state_string_escape  +
    json_tokener_state_escape_unicode  +
    json_tokener_state_boolean  +
    json_tokener_state_number  +
    json_tokener_state_array  +
    json_tokener_state_array_add  +
    json_tokener_state_array_sep  +
    json_tokener_state_object_field_start  +
    json_tokener_state_object_field  +
    json_tokener_state_object_field_end  +
    json_tokener_state_object_value  +
    json_tokener_state_object_value_add  +
    json_tokener_state_object_sep  +
    json_tokener_state_array_after_sep  +
    json_tokener_state_object_field_start_after_sep  +
    json_tokener_state_inf  +

    Function Documentation

    - -

    ◆ json_tokener_error_desc()

    - +
    @@ -298,9 +331,7 @@ Functions - -

    ◆ json_tokener_free()

    - +
    @@ -316,9 +347,7 @@ Functions - -

    ◆ json_tokener_get_error()

    - +
    @@ -337,9 +366,7 @@ Functions - -

    ◆ json_tokener_new()

    - +
    @@ -355,9 +382,7 @@ Functions - -

    ◆ json_tokener_new_ex()

    - +
    @@ -373,9 +398,7 @@ Functions - -

    ◆ json_tokener_parse()

    - +
    @@ -391,9 +414,7 @@ Functions - -

    ◆ json_tokener_parse_ex()

    - +
    @@ -430,7 +451,27 @@ Functions

    Extra characters can be detected by comparing the tok->char_offset against the length of the last len parameter passed in.

    The tokener does not maintain an internal buffer so the caller is responsible for calling json_tokener_parse_ex with an appropriate str parameter starting with the extra characters.

    This interface is presently not 64-bit clean due to the int len argument so the function limits the maximum string size to INT32_MAX (2GB). If the function is called with len == -1 then strlen is called to check the string length is less than INT32_MAX (2GB)

    -

    Example:

    json_object *jobj = NULL;
    const char *mystring = NULL;
    int stringlen = 0;
    do {
    mystring = ... // get JSON string, e.g. read from file, etc...
    stringlen = strlen(mystring);
    jobj = json_tokener_parse_ex(tok, mystring, stringlen);
    } while ((jerr = json_tokener_get_error(tok)) == json_tokener_continue);
    {
    fprintf(stderr, "Error: %s\n", json_tokener_error_desc(jerr));
    // Handle errors, as appropriate for your application.
    }
    if (tok->char_offset < stringlen) // XXX shouldn't access internal fields
    {
    // Handle extra characters after parsed object as desired.
    // e.g. issue an error, parse another object from that point, etc...
    }
    // Success, use jobj here.
    Parameters
    +

    Example:

    1 json_object *jobj = NULL;
    +
    2 const char *mystring = NULL;
    +
    3 int stringlen = 0;
    +
    4 enum json_tokener_error jerr;
    +
    5 do {
    +
    6  mystring = ... // get JSON string, e.g. read from file, etc...
    +
    7  stringlen = strlen(mystring);
    +
    8  jobj = json_tokener_parse_ex(tok, mystring, stringlen);
    +
    9 } while ((jerr = json_tokener_get_error(tok)) == json_tokener_continue);
    +
    10 if (jerr != json_tokener_success)
    +
    11 {
    +
    12  fprintf(stderr, "Error: %s\n", json_tokener_error_desc(jerr));
    +
    13  // Handle errors, as appropriate for your application.
    +
    14 }
    +
    15 if (tok->char_offset < stringlen) // XXX shouldn't access internal fields
    +
    16 {
    +
    17  // Handle extra characters after parsed object as desired.
    +
    18  // e.g. issue an error, parse another object from that point, etc...
    +
    19 }
    +
    20 // Success, use jobj here.
    +
    Parameters
    @@ -441,9 +482,7 @@ Functions - -

    ◆ json_tokener_parse_verbose()

    - +
    toka json_tokener previously allocated with json_tokener_new()
    stran string with any valid JSON expression, or portion of. This does not need to be null terminated.
    @@ -469,9 +508,7 @@ Functions - -

    ◆ json_tokener_reset()

    - +
    @@ -487,9 +524,7 @@ Functions - -

    ◆ json_tokener_set_flags()

    - +
    @@ -519,9 +554,9 @@ Functions diff --git a/doc/html/json__util_8h.html b/doc/html/json__util_8h.html index 92c110d..b139412 100644 --- a/doc/html/json__util_8h.html +++ b/doc/html/json__util_8h.html @@ -3,8 +3,7 @@ - - +json-c: json_util.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -51,9 +56,9 @@ $(function() { - + - + @@ -82,9 +87,7 @@ Functions

    Detailed Description

    Miscllaneous utility functions and macros.

    Macro Definition Documentation

    - -

    ◆ JSON_FILE_BUF_SIZE

    - +

    Macros

    #define json_min(a, b)   ((a) < (b) ? (a) : (b))
    #define json_min(a, b)   ((a) < (b) ? (a) : (b))
     
    #define json_max(a, b)   ((a) > (b) ? (a) : (b))
    #define json_max(a, b)   ((a) > (b) ? (a) : (b))
     
    #define JSON_FILE_BUF_SIZE   4096
     
    @@ -96,9 +99,7 @@ Functions - -

    ◆ json_max

    - +
    @@ -124,9 +125,7 @@ Functions - -

    ◆ json_min

    - +
    @@ -153,9 +152,7 @@ Functions

    Function Documentation

    - -

    ◆ json_object_from_fd()

    - +
    @@ -174,9 +171,7 @@ Functions - -

    ◆ json_object_from_file()

    - +
    @@ -194,9 +189,7 @@ Functions - -

    ◆ json_object_to_fd()

    - +
    @@ -238,9 +231,7 @@ Functions - -

    ◆ json_object_to_file()

    - +
    @@ -268,9 +259,7 @@ Functions - -

    ◆ json_object_to_file_ext()

    - +
    @@ -304,9 +293,7 @@ Functions - -

    ◆ json_parse_double()

    - +
    @@ -332,9 +319,7 @@ Functions - -

    ◆ json_parse_int64()

    - +
    @@ -360,9 +345,7 @@ Functions - -

    ◆ json_type_to_name()

    - +
    @@ -379,9 +362,7 @@ Functions - -

    ◆ json_util_get_last_err()

    - +
    @@ -401,9 +382,9 @@ Functions diff --git a/doc/html/json__visit_8h.html b/doc/html/json__visit_8h.html index e99f353..f2f6371 100644 --- a/doc/html/json__visit_8h.html +++ b/doc/html/json__visit_8h.html @@ -3,8 +3,7 @@ - - +json-c: json_visit.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -67,20 +72,18 @@ Macros - - + +

    Typedefs

    typedef int() json_c_visit_userfunc(json_object *jso, int flags, json_object *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)
     
    typedef int( json_c_visit_userfunc )(json_object *jso, int flags, json_object *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)
     
    - +

    Functions

    int json_c_visit (json_object *jso, int future_flags, json_c_visit_userfunc *userfunc, void *userarg)
    int json_c_visit (json_object *jso, int future_flags, json_c_visit_userfunc *userfunc, void *userarg)
     

    Detailed Description

    Methods for walking a tree of objects.

    Macro Definition Documentation

    - -

    ◆ JSON_C_VISIT_RETURN_CONTINUE

    - +
    @@ -93,9 +96,7 @@ Functions - -

    ◆ JSON_C_VISIT_RETURN_ERROR

    - +
    @@ -108,9 +109,7 @@ Functions - -

    ◆ JSON_C_VISIT_RETURN_POP

    - +
    @@ -134,9 +133,7 @@ Functions - -

    ◆ JSON_C_VISIT_RETURN_SKIP

    - +
    @@ -149,9 +146,7 @@ Functions - -

    ◆ JSON_C_VISIT_RETURN_STOP

    - +
    @@ -164,9 +159,7 @@ Functions - -

    ◆ JSON_C_VISIT_SECOND

    - +
    @@ -180,14 +173,12 @@ Functions

    Typedef Documentation

    - -

    ◆ json_c_visit_userfunc

    - +
    - +
    typedef int() json_c_visit_userfunc(json_object *jso, int flags, json_object *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)typedef int( json_c_visit_userfunc)(json_object *jso, int flags, json_object *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)
    @@ -195,9 +186,7 @@ Functions

    Function Documentation

    - -

    ◆ json_c_visit()

    - +
    @@ -216,7 +205,7 @@ Functions - + @@ -242,9 +231,9 @@ Functions diff --git a/doc/html/linkhash_8h.html b/doc/html/linkhash_8h.html index 520164a..eaad463 100644 --- a/doc/html/linkhash_8h.html +++ b/doc/html/linkhash_8h.html @@ -3,8 +3,7 @@ - - +json-c: linkhash.h File Reference @@ -17,9 +16,9 @@
    json_c_visit_userfuncjson_c_visit_userfunc userfunc,
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -72,9 +77,9 @@ Macros   #define JSON_C_STR_HASH_PERLLIKE   1   -#define lh_foreach(table, entry)   for(entry = table->head; entry; entry = entry->next) +#define lh_foreach(table, entry)   for(entry = table->head; entry; entry = entry->next)   -#define lh_foreach_safe(table, entry, tmp)   for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp) +#define lh_foreach_safe(table, entry, tmp)   for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)   #define _LH_INLINE   inline   @@ -87,12 +92,12 @@ Macros - - - - - - + + + + + +

    Typedefs

    typedef void() lh_entry_free_fn(struct lh_entry *e)
     
    typedef unsigned long() lh_hash_fn(const void *k)
     
    typedef int() lh_equal_fn(const void *k1, const void *k2)
     
    typedef void( lh_entry_free_fn )(struct lh_entry *e)
     
    typedef unsigned long( lh_hash_fn )(const void *k)
     
    typedef int( lh_equal_fn )(const void *k1, const void *k2)
     
    typedef struct lh_table lh_table
     
    @@ -100,11 +105,11 @@ Typedefs Functions - + - + - + @@ -134,9 +139,7 @@ Functions

    Detailed Description

    Internal methods for working with json_type_object objects. Although this is exposed by the json_object_get_object() function and within the json_object_iter type, it is not recommended for direct use.

    Macro Definition Documentation

    - -

    ◆ _LH_INLINE

    - +
    int json_global_set_string_hash (const int h)
     
    struct lh_tablelh_table_new (int size, lh_entry_free_fn *free_fn, lh_hash_fn *hash_fn, lh_equal_fn *equal_fn)
    struct lh_tablelh_table_new (int size, lh_entry_free_fn *free_fn, lh_hash_fn *hash_fn, lh_equal_fn *equal_fn)
     
    struct lh_tablelh_kchar_table_new (int size, lh_entry_free_fn *free_fn)
    struct lh_tablelh_kchar_table_new (int size, lh_entry_free_fn *free_fn)
     
    struct lh_tablelh_kptr_table_new (int size, lh_entry_free_fn *free_fn)
    struct lh_tablelh_kptr_table_new (int size, lh_entry_free_fn *free_fn)
     
    void lh_table_free (struct lh_table *t)
     
    @@ -149,9 +152,7 @@ Functions - -

    ◆ _LH_UNCONST

    - +
    @@ -168,9 +169,7 @@ Functions - -

    ◆ JSON_C_STR_HASH_DFLT

    - +
    @@ -183,9 +182,7 @@ Functions - -

    ◆ JSON_C_STR_HASH_PERLLIKE

    - +
    @@ -198,9 +195,7 @@ Functions - -

    ◆ LH_EMPTY

    - +
    @@ -213,9 +208,7 @@ Functions - -

    ◆ lh_entry_k

    - +
    @@ -233,9 +226,7 @@ Functions - -

    ◆ lh_entry_v

    - +
    @@ -253,9 +244,7 @@ Functions - -

    ◆ lh_foreach

    - +
    @@ -282,9 +271,7 @@ Functions - -

    ◆ lh_foreach_safe

    - +
    @@ -325,9 +312,7 @@ Functions - -

    ◆ LH_FREED

    - +
    @@ -340,9 +325,7 @@ Functions - -

    ◆ LH_LOAD_FACTOR

    - +
    @@ -355,9 +338,7 @@ Functions - -

    ◆ LH_PRIME

    - +
    @@ -371,14 +352,12 @@ Functions

    Typedef Documentation

    - -

    ◆ lh_entry_free_fn

    - +
    - +
    typedef void() lh_entry_free_fn(struct lh_entry *e)typedef void( lh_entry_free_fn)(struct lh_entry *e)
    @@ -386,14 +365,12 @@ Functions
    - -

    ◆ lh_equal_fn

    - +
    - +
    typedef int() lh_equal_fn(const void *k1, const void *k2)typedef int( lh_equal_fn)(const void *k1, const void *k2)
    @@ -401,14 +378,12 @@ Functions
    - -

    ◆ lh_hash_fn

    - +
    - +
    typedef unsigned long() lh_hash_fn(const void *k)typedef unsigned long( lh_hash_fn)(const void *k)
    @@ -416,9 +391,7 @@ Functions
    - -

    ◆ lh_table

    - +
    @@ -431,9 +404,7 @@ Functions

    Function Documentation

    - -

    ◆ json_global_set_string_hash()

    - +
    @@ -450,9 +421,7 @@ Functions - -

    ◆ lh_abort()

    - +
    @@ -487,9 +456,7 @@ Functions - -

    ◆ lh_kchar_table_new()

    - +
    @@ -502,7 +469,7 @@ Functions - + @@ -524,9 +491,7 @@ Functions - -

    ◆ lh_kptr_table_new()

    - +
    lh_entry_free_fnlh_entry_free_fn free_fn 
    @@ -539,7 +504,7 @@ Functions - + @@ -561,9 +526,7 @@ Functions - -

    ◆ lh_table_delete()

    - +
    lh_entry_free_fnlh_entry_free_fn free_fn 
    @@ -600,9 +563,7 @@ Functions - -

    ◆ lh_table_delete_entry()

    - +
    @@ -639,9 +600,7 @@ Functions - -

    ◆ lh_table_free()

    - +
    @@ -665,9 +624,7 @@ Functions - -

    ◆ lh_table_insert()

    - +
    @@ -709,9 +666,7 @@ Functions - -

    ◆ lh_table_insert_w_hash()

    - +
    @@ -767,9 +722,7 @@ Functions - -

    ◆ lh_table_length()

    - +
    @@ -785,9 +738,7 @@ Functions - -

    ◆ lh_table_lookup()

    - +
    @@ -823,9 +774,7 @@ Functions - -

    ◆ lh_table_lookup_entry()

    - +
    @@ -860,9 +809,7 @@ Functions - -

    ◆ lh_table_lookup_entry_w_hash()

    - +
    @@ -905,9 +852,7 @@ Functions - -

    ◆ lh_table_lookup_ex()

    - +
    @@ -949,9 +894,7 @@ Functions - -

    ◆ lh_table_new()

    - +
    @@ -964,19 +907,19 @@ Functions - + - + - + @@ -1000,9 +943,7 @@ Functions - -

    ◆ lh_table_resize()

    - +
    lh_entry_free_fnlh_entry_free_fn free_fn,
    lh_hash_fnlh_hash_fn hash_fn,
    lh_equal_fnlh_equal_fn equal_fn 
    @@ -1040,9 +981,9 @@ Functions diff --git a/doc/html/math__compat_8h.html b/doc/html/math__compat_8h.html index b0c6992..dd4f387 100644 --- a/doc/html/math__compat_8h.html +++ b/doc/html/math__compat_8h.html @@ -3,8 +3,7 @@ - - +json-c: math_compat.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -62,9 +67,7 @@ Macros

    Detailed Description

    Do not use, json-c internal, may be changed or removed at any time.

    Macro Definition Documentation

    - -

    ◆ HAVE_DECL_INFINITY

    - +
    @@ -76,9 +79,7 @@ Macros - -

    ◆ HAVE_DECL_NAN

    - +
    @@ -90,9 +91,7 @@ Macros - -

    ◆ INFINITY

    - +
    @@ -104,9 +103,7 @@ Macros - -

    ◆ NAN

    - +
    @@ -121,9 +118,9 @@ Macros diff --git a/doc/html/md_issues_closed_for_0_813.html b/doc/html/md_issues_closed_for_0_813.html index 300f8dc..2fd811a 100644 --- a/doc/html/md_issues_closed_for_0_813.html +++ b/doc/html/md_issues_closed_for_0_813.html @@ -3,8 +3,7 @@ - - +json-c: issues_closed_for_0 @@ -17,9 +16,9 @@
    - @@ -27,15 +26,15 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + +
    @@ -45,7 +44,7 @@ $(function() {

    This list was created with:

    curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=1" > issues1.out curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=2" > issues2.out curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=3" > issues3.out jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md #... manual editing ...


    Issues and Pull Requests closed for the 0.13 release (since commit f84d9c, the 0.12 branch point, 2014-04-10)

    -

    Make json_object_object_add() indicate success or failure, test fix Build fixes (make dist and make distcheck) Fixing build Fix compile error(variable size set but not used) on g++4.6 Removed unused size variable. remove unused size variable Remove unused variable from json_tokenizer.c Failed to compile under Ubuntu 13.10 32bit undefined symbol: __sync_val_compare_and_swap_4 Remove unused variable 'size' Update and rename README to README.md Must remove variable size... bits.h uses removed json_tokener_errors[error] Error when running make check config.h.in should not be in git Can't build on RHEL 6.5 due to dependency on automake-1.14 Code bug in random_test.c evaluating same expression twice Removed duplicate check in random_seed test - bug #140 Please undeprecate json_object_object_get Introduce json_object_from_fd Handle % character properly TAGS rename Bump the soname SONAME bump Fix build using MinGW. Remove json_type enum trailing comma error while compiling json-c library version 0.11 improve doc for json_object_to_json_string() double precision add bsearch for arrays Remove trailing whitespaces JSON-C shall not exit on calloc fail. while using json-c 0.11, I am facing strange crash issue in json_object_put. json_tokener.c compile error missing header file on windows?? Is there a way to append to file? json_util: add directory check for POSIX distros Fix Win32 build problems made it compile and link on Widnows (as static library) json_object_to_json_string_ext length Can't build on Windows with Visual Studio 2010 Tightening the number parsing algorithm Doesn't compile on ubuntu 14.04, 64bit Generated files in repository Update configuration for VS2010 and win64 Adding support for parsing octal numbers json_parse_int64 doesn't work correctly at illumos Adding JSON_C_TO_STRING_PRETTY_TAB flag make check fails 4 tests with overflows when built with ASAN Possible to delete an array element at a given idx ? Fix compiler warnings Unable to compile on CentOS5 Added array_list_del_idx and json_object_array_del_idx Enable silent build by default json_tokener_parse_ex accepts invalid JSON Link against libm when needed Apply compile warning fix to master branch Use only GCC-specific flags when compiling with GCC compile error Syntax error array_list_get_idx and negative indexes. json_object_object_foreach warnings noisy json_object_from_file: error opening file warning: initialization discards const qualifier from pointer target type [enabled by default] json_tokener_parse accepts invalid JSON {"key": "value" , } Make serialization format of doubles configurable Add utility function for comparing json_objects Call uselocale instead of setlocale Performance improvements Time for a new release? Fix possible memory leak and remove superfluous NULL checks before free() Fix build in Visual Studio Add build scripts for CI platforms disable forward-slash escaping? Array with objects support Add source position/coordinates to API json-c/json.h not found json-c Compiled with Visual Studios what do i use in place of json_object_object_get? Add support for property pairs directly added to arrays Performance enhancements (mainly) to json_object_to_json_string() fix regression from 2d549662be832da838aa063da2efa78ee3b99668 Use size_t for arrays Atomic updates for the refcount Refcount doesn't work between threads fix to compile with microsoft visual c++ 2010 Some non-GNU systems support __sync_val_compare_and_swap Build json-c for window 64 bit. configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation. Checking for functions in float.h Use a macro to indicate C99 to the compiler Fix various potential null ptr deref and int32 overflows Add utility function for comparing json_objects JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly Clarify json_object_get_string documentation of NULL handling & return json_tokener.c - all warnings being treated as errors Hi, will you support clib as a "registry"? Bump SOVERSION to 3 avoid double slashes from json configure fails: checking size of size_t... configure: error: cannot determine a size for size_t Use stdint.h to check for size_t size Fix size_t size check for first-time builds tests/tests1: fix printf format for size_t arguments Include stddef.h in json_object.h Add public API to use userdata independently of custom serializer Undefined symbols Error for architecture x86_64 on Mac Building a project which uses json-c with flag -Wcast-qual causes compilation errors handle escaped utf-8 linkhash.c: optimised the table_free path initialize null terminator of new printbuf Compile error: Variable set but not used getting error in date string 19\/07\/2016, fixed for error 19/07/2016 json_tokener_parse error Fix #165 Error while compiling source from RHEL5, could you please help me to fix this json-c compile in window xp Mac: uselocale failed to build json_object_array_del_idx function has segment fault error? Minor changes in C source code Improving README Improving .gitignore Adding a file for EditorConfig Very minor changes not related to C source code Adding a test with cppcheck for Travis CI Very minor changes to some tests Minor changes in C source code Mailing list dead? Defining a coding style Enable CI services Fails to parse valid json Adding an object to itself Lack of proper documentation Add Cmakefile and fix compiler warning. Compiler Warnings with VS2015 successed in simple test while failed in my project Conformance report for reference crash perhaps related to reference counting Removes me as Win32 maintainer, because I'm not. Documentation of json_object_to_json_string gives no information about memory management json_object_<type>_set(json_object *o,<type> value) API for value setting in json object private structure new API json_object_new_double_f(doubel d,const char * fmt); Cannot compile using CMake on macOS fixed wrong object name in json_object_all_values_equal Support for 64 bit pointers on Windows Out-of-bounds read in json_tokener_parse_ex ./configure for centos release 6.7(final) failure Json object set xxx Serialization of double with no fractional component drops trailing zero Segmentation fault in array_list_length() Should json_object_array_get_idx check whether input obj is array? how to pretty print json-c? ignore temporary files json_pointer: add first revision based on RFC 6901 Resusing json_tokener object Revert "compat/strdup.h: move common compat check for strdup() to own</a> +

    Make json_object_object_add() indicate success or failure, test fix Build fixes (make dist and make distcheck) Fixing build Fix compile error(variable size set but not used) on g++4.6 Removed unused size variable. remove unused `size` variable Remove unused variable from json_tokenizer.c Failed to compile under Ubuntu 13.10 32bit undefined symbol: __sync_val_compare_and_swap_4 Remove unused variable 'size' Update and rename README to README.md Must remove variable size... bits.h uses removed json_tokener_errors\[error\] Error when running make check config.h.in should not be in git Can't build on RHEL 6.5 due to dependency on automake-1.14 Code bug in random_test.c evaluating same expression twice Removed duplicate check in random_seed test - bug #140 Please undeprecate json_object_object_get Introduce json_object_from_fd Handle % character properly TAGS rename Bump the soname SONAME bump Fix build using MinGW. Remove json_type enum trailing comma error while compiling json-c library version 0.11 improve doc for json_object_to_json_string() double precision add bsearch for arrays Remove trailing whitespaces JSON-C shall not exit on calloc fail. while using json-c 0.11, I am facing strange crash issue in json_object_put. json_tokener.c compile error missing header file on windows?? Is there a way to append to file? json_util: add directory check for POSIX distros Fix Win32 build problems made it compile and link on Widnows (as static library) json_object_to_json_string_ext length Can't build on Windows with Visual Studio 2010 Tightening the number parsing algorithm Doesn't compile on ubuntu 14.04, 64bit Generated files in repository Update configuration for VS2010 and win64 Adding support for parsing octal numbers json_parse_int64 doesn't work correctly at illumos Adding JSON_C_TO_STRING_PRETTY_TAB flag make check fails 4 tests with overflows when built with ASAN Possible to delete an array element at a given idx ? Fix compiler warnings Unable to compile on CentOS5 Added array_list_del_idx and json_object_array_del_idx Enable silent build by default json_tokener_parse_ex accepts invalid JSON Link against libm when needed Apply compile warning fix to master branch Use only GCC-specific flags when compiling with GCC compile error Syntax error array_list_get_idx and negative indexes. json_object_object_foreach warnings noisy json_object_from_file: error opening file warning: initialization discards const qualifier from pointer target type \[enabled by default\] json_tokener_parse accepts invalid JSON {"key": "value" , } Make serialization format of doubles configurable Add utility function for comparing json_objects Call uselocale instead of setlocale Performance improvements Time for a new release? Fix possible memory leak and remove superfluous NULL checks before free() Fix build in Visual Studio Add build scripts for CI platforms disable forward-slash escaping? Array with objects support Add source position/coordinates to API json-c/json.h not found json-c Compiled with Visual Studios what do i use in place of json_object_object_get? Add support for property pairs directly added to arrays Performance enhancements (mainly) to json_object_to_json_string() fix regression from 2d549662be832da838aa063da2efa78ee3b99668 Use size_t for arrays Atomic updates for the refcount Refcount doesn't work between threads fix to compile with microsoft visual c++ 2010 Some non-GNU systems support __sync_val_compare_and_swap Build json-c for window 64 bit. configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation. Checking for functions in float.h Use a macro to indicate C99 to the compiler Fix various potential null ptr deref and int32 overflows Add utility function for comparing json_objects JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly Clarify json_object_get_string documentation of NULL handling & return json_tokener.c - all warnings being treated as errors Hi, will you support clib as a "registry"? Bump SOVERSION to 3 avoid double slashes from json configure fails: checking size of size_t... configure: error: cannot determine a size for size_t Use stdint.h to check for size_t size Fix size_t size check for first-time builds tests/tests1: fix printf format for size_t arguments Include stddef.h in json_object.h Add public API to use userdata independently of custom serializer Undefined symbols Error for architecture x86_64 on Mac Building a project which uses json-c with flag -Wcast-qual causes compilation errors handle escaped utf-8 linkhash.c: optimised the table_free path initialize null terminator of new printbuf Compile error: Variable set but not used getting error in date string 19\/07\/2016, fixed for error 19/07/2016 json_tokener_parse error Fix #165 Error while compiling source from RHEL5, could you please help me to fix this json-c compile in window xp Mac: uselocale failed to build json_object_array_del_idx function has segment fault error? Minor changes in C source code Improving README Improving .gitignore Adding a file for EditorConfig Very minor changes not related to C source code Adding a test with cppcheck for Travis CI Very minor changes to some tests Minor changes in C source code Mailing list dead? Defining a coding style Enable CI services Fails to parse valid json Adding an object to itself Lack of proper documentation Add Cmakefile and fix compiler warning. Compiler Warnings with VS2015 successed in simple test while failed in my project Conformance report for reference crash perhaps related to reference counting Removes me as Win32 maintainer, because I'm not. Documentation of json_object_to_json_string gives no information about memory management json_object_<type>_set(json_object *o,<type> value) API for value setting in json object private structure new API json_object_new_double_f(doubel d,const char * fmt); Cannot compile using CMake on macOS fixed wrong object name in json_object_all_values_equal Support for 64 bit pointers on Windows Out-of-bounds read in json_tokener_parse_ex ./configure for centos release 6.7(final) failure Json object set xxx Serialization of double with no fractional component drops trailing zero Segmentation fault in array_list_length() Should json_object_array_get_idx check whether input obj is array? how to pretty print json-c? ignore temporary files json_pointer: add first revision based on RFC 6901 Resusing json_tokener object Revert "compat/strdup.h: move common compat check for strdup() to own</a> <a href="https://api.github.com/repos/json-c/json-c/issues/286">json_tokener_parse_ex() returns json_tokener_continue on zero-length string</a> <a href="https://api.github.com/repos/json-c/json-c/issues/287">json_pointer: extend setter & getter with printf() style arguments</a> <a href="https://api.github.com/repos/json-c/json-c/issues/288">Fix _GNU_SOURCE define for vasprintf</a> @@ -57,13 +56,13 @@ $(function() { <a href="https://api.github.com/repos/json-c/json-c/issues/294">Adding UTF-8 validation. Fixes #122</a> <a href="https://api.github.com/repos/json-c/json-c/issues/295">cross compile w/ mingw</a> <a href="https://api.github.com/repos/json-c/json-c/issues/296">Missing functions header in json_object.h</a> -<a href="https://api.github.com/repos/json-c/json-c/issues/297">could not parse string to Json object? Like string str=\"helloworld;E\test\log\;end" Building using CMake doesn't work Improve json_object -> string performance Running tests with MinGW build How to deep copy json_object in C++ ? json_tokener_parse_ex doesn't parse JSON values fix doc in tokener header file (.text+0x72846): undefined reference to `is_error' Fix compilation without C-99 option ./configure: line 12748 -error=deprecated-declarations Memory leak in json_tokener_parse AM_PROG_LIBTOOL not found on Linux GCC 7 reports various -Wimplicit-fallthrough= errors Add FALLTHRU comment to handle GCC7 warnings. Fix error C3688 when compiling on Visual Studio 2015 Fix CMake Build process improved for MinGW and MSYS2 VERBOSE=1 make check; tests/test_util_file.test.c and tests/test_util_file.expected out of sync Passing -1 to json_tokener_parse_ex is possibly unsafe Memory Returned by json_object_to_json_string not freed json_object_get_string gives segmentation error PVS-Studio static analyzer analyze results Windows: Fix dynamic library build with Visual Studio Can't compile in Mac OS X El Capitan build,cmake: fix vasprintf implicit definition and generate both static & shared libs can not link with libjson-c.a implicit fallthrough detected by gcc 7.1 JsonPath like function? Fix stack buffer overflow in json_object_double_to_json_string_format() why json-c so hard to compile json_object: implement json_object_deep_copy() function build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a tests: symlink basic tests to a single file that has the common code Safe use of snprintf() / vsnprintf() for Visual studio, and thread-safety fix Valgrind: invalid read after json_object_array_del_idx. Replace obsolete AM_PROG_LIBTOOL README.md: show build status tag from travis-ci.org tests: fix tests in travis-ci.org Synchronize "potentially racy" random seed in lh_char_hash() implement json_object_int_inc(json_object *, int64_t) Json schema validation strerror_override: add extern "C" and JSON_EXPORT specifiers for Visual C++ compilers character "/" parse as "\/" No such file or directory "/usr/include/json.h" Can't parse json Fix Mingw build Fix make dist and make distcheck Clamp double to int32 when narrowing in json_object_get_int. MSVC linker error json_c_strerror why missing is missing? stderror-override and disable-shared SIZE_T_MAX redefined from limits.h INSTALL overrides an automake script. Documentation issues Fixes #351 #352 #353 1.make it can been compiled with Visual Studio 2010 by modify the CMakeList.txt and others VS2008 test test_util_file.cpp err! __json_c_strerror incompatibility with link-time optimization make issue update CMakeLists.txt for compile with visual studio at least 2010 Use strtoll() to parse ints Fix double to int cast overflow in json_object_get_int64. CMake Package Config Issue #338, add json_object_add_int functions Cmake is Errir added fallthrough for gcc7 how to check the json string,crash! Is json-c support "redirect" semantic? Add examples How to build json-c library for android? Compiling using clang-cl Invalid parsing for Infinity with json-c 0.12 Json-c 0.12: Fixed Infinity bug build: fix build on appveyor CI Undefined symbols for architecture x86_64: what would happened when json_object_object_add add the same key Eclipse error on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source Eclipse: library (libjson-c) not found, but configured error: this statement may fall through [-Werror=implicit-fallthrough=] Build on Windows Fix makedist Memory leak for json_tokener_parse_ex for version 0.12.1 Fix a compiler warning. Fix a VS 2015 compiler warnings.

    +<a href="https://api.github.com/repos/json-c/json-c/issues/297">could not parse string to Json object? Like string str=\"helloworld;E\test\log\;end" Building using CMake doesn't work Improve json_object -> string performance Running tests with MinGW build How to deep copy json_object in C++ ? json_tokener_parse_ex doesn't parse JSON values fix doc in tokener header file (.text+0x72846): undefined reference to `is_error' Fix compilation without C-99 option ./configure: line 12748 -error=deprecated-declarations Memory leak in json_tokener_parse AM_PROG_LIBTOOL not found on Linux GCC 7 reports various -Wimplicit-fallthrough= errors Add FALLTHRU comment to handle GCC7 warnings. Fix error C3688 when compiling on Visual Studio 2015 Fix CMake Build process improved for MinGW and MSYS2 VERBOSE=1 make check; tests/test_util_file.test.c and tests/test_util_file.expected out of sync Passing -1 to json_tokener_parse_ex is possibly unsafe Memory Returned by json_object_to_json_string not freed json_object_get_string gives segmentation error PVS-Studio static analyzer analyze results Windows: Fix dynamic library build with Visual Studio Can't compile in Mac OS X El Capitan build,cmake: fix vasprintf implicit definition and generate both static & shared libs can not link with libjson-c.a implicit fallthrough detected by gcc 7.1 JsonPath like function? Fix stack buffer overflow in json_object_double_to_json_string_format() why json-c so hard to compile json_object: implement json_object_deep_copy() function build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a tests: symlink basic tests to a single file that has the common code Safe use of snprintf() / vsnprintf() for Visual studio, and thread-safety fix Valgrind: invalid read after json_object_array_del_idx. Replace obsolete AM_PROG_LIBTOOL README.md: show build status tag from travis-ci.org tests: fix tests in travis-ci.org Synchronize "potentially racy" random seed in lh_char_hash() implement json_object_int_inc(json_object *, int64_t) Json schema validation strerror_override: add extern "C" and JSON_EXPORT specifiers for Visual C++ compilers character "/" parse as "\/" No such file or directory "/usr/include/json.h" Can't parse json Fix Mingw build Fix make dist and make distcheck Clamp double to int32 when narrowing in json_object_get_int. MSVC linker error json_c_strerror why `missing` is missing? stderror-override and disable-shared SIZE_T_MAX redefined from limits.h `INSTALL` overrides an automake script. Documentation issues Fixes #351 #352 #353 1.make it can been compiled with Visual Studio 2010 by modify the CMakeList.txt and others VS2008 test test_util_file.cpp err! __json_c_strerror incompatibility with link-time optimization make issue update CMakeLists.txt for compile with visual studio at least 2010 Use strtoll() to parse ints Fix double to int cast overflow in json_object_get_int64. CMake Package Config Issue #338, add json_object_add_int functions Cmake is Errir added fallthrough for gcc7 how to check the json string,crash! Is json-c support "redirect" semantic? Add examples How to build json-c library for android? Compiling using clang-cl Invalid parsing for Infinity with json-c 0.12 Json-c 0.12: Fixed Infinity bug build: fix build on appveyor CI Undefined symbols for architecture x86_64: what would happened when json_object_object_add add the same key Eclipse error on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source Eclipse: library (libjson-c) not found, but configured error: this statement may fall through \[-Werror=implicit-fallthrough=\] Build on Windows Fix makedist Memory leak for json_tokener_parse_ex for version 0.12.1 Fix a compiler warning. Fix a VS 2015 compiler warnings.

    diff --git a/doc/html/pages.html b/doc/html/pages.html index 8c36160..577f2ab 100644 --- a/doc/html/pages.html +++ b/doc/html/pages.html @@ -3,8 +3,7 @@ - - + json-c: Related Pages @@ -17,9 +16,9 @@ - @@ -27,15 +26,15 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + +
    @@ -51,9 +50,9 @@ $(function() {
    diff --git a/doc/html/printbuf_8h.html b/doc/html/printbuf_8h.html index 4b310fe..b4f8cc2 100644 --- a/doc/html/printbuf_8h.html +++ b/doc/html/printbuf_8h.html @@ -3,8 +3,7 @@ - - + json-c: printbuf.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -58,13 +63,13 @@ Data Structures - + - +

    Macros

    #define printbuf_memappend_fast(p, bufptr, bufsize)
    #define printbuf_memappend_fast(p, bufptr, bufsize)
     
    #define printbuf_length(p)   ((p)->bpos)
     
    #define _printbuf_check_literal(mystr)   ("" mystr)
     
    #define printbuf_strappend(pb, str)   printbuf_memappend ((pb), _printbuf_check_literal(str), sizeof(str) - 1)
    #define printbuf_strappend(pb, str)   printbuf_memappend ((pb), _printbuf_check_literal(str), sizeof(str) - 1)
     

    Detailed Description

    Internal string buffer handing. Unless you're writing a json_object_to_json_string_fn implementation for use with json_object_set_serializer() direct use of this is not recommended.

    Macro Definition Documentation

    - -

    ◆ _printbuf_check_literal

    - +

    @@ -90,9 +95,7 @@ Functions

    @@ -109,9 +112,7 @@ Functions - -

    ◆ printbuf_length

    - +
    @@ -127,9 +128,7 @@ Functions - -

    ◆ printbuf_memappend_fast

    - +
    @@ -158,13 +157,18 @@ Functions
    -Value:
    do { \
    if ((p->size - p->bpos) > bufsize) { \
    memcpy(p->buf + p->bpos, (bufptr), bufsize); \
    p->bpos += bufsize; \
    p->buf[p->bpos]= '\0'; \
    } else { printbuf_memappend(p, (bufptr), bufsize); } \
    } while (0)
    int printbuf_memappend(struct printbuf *p, const char *buf, int size)
    +Value:
    do { \
    +
    if ((p->size - p->bpos) > bufsize) { \
    +
    memcpy(p->buf + p->bpos, (bufptr), bufsize); \
    +
    p->bpos += bufsize; \
    +
    p->buf[p->bpos]= '\0'; \
    +
    } else { printbuf_memappend(p, (bufptr), bufsize); } \
    +
    } while (0)
    +
    int printbuf_memappend(struct printbuf *p, const char *buf, int size)
    - -

    ◆ printbuf_strappend

    - +
    @@ -193,9 +197,7 @@ Functions

    Typedef Documentation

    - -

    ◆ printbuf

    - +
    @@ -208,9 +210,7 @@ Functions

    Function Documentation

    - -

    ◆ printbuf_free()

    - +
    @@ -226,9 +226,7 @@ Functions - -

    ◆ printbuf_memappend()

    - +
    @@ -260,9 +258,7 @@ Functions - -

    ◆ printbuf_memset()

    - +
    @@ -303,9 +299,7 @@ Functions - -

    ◆ printbuf_new()

    - +
    @@ -321,9 +315,7 @@ Functions - -

    ◆ printbuf_reset()

    - +
    @@ -339,9 +331,7 @@ Functions - -

    ◆ sprintbuf()

    - +
    @@ -379,9 +369,9 @@ Functions diff --git a/doc/html/random__seed_8h.html b/doc/html/random__seed_8h.html index 6578c86..7514b7a 100644 --- a/doc/html/random__seed_8h.html +++ b/doc/html/random__seed_8h.html @@ -3,8 +3,7 @@ - - +json-c: random_seed.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -56,9 +61,7 @@ Functions

    Detailed Description

    Do not use, json-c internal, may be changed or removed at any time.

    Function Documentation

    - -

    ◆ json_c_get_random_seed()

    - +
    @@ -76,9 +79,9 @@ Functions diff --git a/doc/html/snprintf__compat_8h.html b/doc/html/snprintf__compat_8h.html index 7575fba..223a4f3 100644 --- a/doc/html/snprintf__compat_8h.html +++ b/doc/html/snprintf__compat_8h.html @@ -3,8 +3,7 @@ - - +json-c: snprintf_compat.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -50,9 +55,9 @@ $(function() {
    diff --git a/doc/html/strdup__compat_8h.html b/doc/html/strdup__compat_8h.html index 0656971..b7c5e47 100644 --- a/doc/html/strdup__compat_8h.html +++ b/doc/html/strdup__compat_8h.html @@ -3,8 +3,7 @@ - - + json-c: strdup_compat.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -50,9 +55,9 @@ $(function() {
    diff --git a/doc/html/strerror__override_8h.html b/doc/html/strerror__override_8h.html index 274a7c6..8353d69 100644 --- a/doc/html/strerror__override_8h.html +++ b/doc/html/strerror__override_8h.html @@ -3,8 +3,7 @@ - - + json-c: strerror_override.h File Reference @@ -17,9 +16,9 @@ - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -62,9 +67,7 @@ Functions

    Detailed Description

    Do not use, json-c internal, may be changed or removed at any time.

    Macro Definition Documentation

    - -

    ◆ strerror

    - +
    @@ -77,9 +80,7 @@ Functions

    Function Documentation

    - -

    ◆ _json_c_strerror()

    - +
    @@ -98,9 +99,9 @@ Functions diff --git a/doc/html/strerror__override__private_8h.html b/doc/html/strerror__override__private_8h.html index da7a3f9..1e1f976 100644 --- a/doc/html/strerror__override__private_8h.html +++ b/doc/html/strerror__override__private_8h.html @@ -3,8 +3,7 @@ - - +json-c: strerror_override_private.h File Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -56,9 +61,7 @@ Variables

    Detailed Description

    Do not use, json-c internal, may be changed or removed at any time.

    Variable Documentation

    - -

    ◆ _json_c_strerror_enable

    - +
    @@ -73,9 +76,9 @@ Variables diff --git a/doc/html/structarray__list.html b/doc/html/structarray__list.html index 0d27773..155335e 100644 --- a/doc/html/structarray__list.html +++ b/doc/html/structarray__list.html @@ -3,8 +3,7 @@ - - +json-c: array_list Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -53,13 +58,11 @@ Data Fields   size_t size   -array_list_free_fnfree_fn +array_list_free_fnfree_fn  

    Field Documentation

    - -

    ◆ array

    - +
    @@ -71,23 +74,19 @@ Data Fields - -

    ◆ free_fn

    - +
    - +
    array_list_free_fn* array_list::free_fnarray_list_free_fn* array_list::free_fn
    - -

    ◆ length

    - +
    @@ -99,9 +98,7 @@ Data Fields - -

    ◆ size

    - +
    @@ -119,9 +116,9 @@ Data Fields diff --git a/doc/html/structjson__object.html b/doc/html/structjson__object.html index 283d06d..f76f28f 100644 --- a/doc/html/structjson__object.html +++ b/doc/html/structjson__object.html @@ -3,8 +3,7 @@ - - +json-c: json_object Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -55,9 +60,9 @@ Data Structures Data Fields enum json_type o_type   -json_object_private_delete_fn_delete +json_object_private_delete_fn_delete   -json_object_to_json_string_fn_to_json_string +json_object_to_json_string_fn_to_json_string   int _ref_count   @@ -65,29 +70,25 @@ Data Fields   union json_object::data o   -json_object_delete_fn_user_delete +json_object_delete_fn_user_delete   void * _userdata  

    Field Documentation

    - -

    ◆ _delete

    - +
    - +
    json_object_private_delete_fn* json_object::_deletejson_object_private_delete_fn* json_object::_delete
    - -

    ◆ _pb

    - +
    @@ -99,9 +100,7 @@ Data Fields - -

    ◆ _ref_count

    - +
    @@ -113,37 +112,31 @@ Data Fields - -

    ◆ _to_json_string

    - +
    - +
    json_object_to_json_string_fn* json_object::_to_json_stringjson_object_to_json_string_fn* json_object::_to_json_string
    - -

    ◆ _user_delete

    - +
    - +
    json_object_delete_fn* json_object::_user_deletejson_object_delete_fn* json_object::_user_delete
    - -

    ◆ _userdata

    - +
    @@ -155,9 +148,7 @@ Data Fields - -

    ◆ o

    - +
    @@ -169,9 +160,7 @@ Data Fields - -

    ◆ o_type

    - +
    @@ -189,9 +178,9 @@ Data Fields diff --git a/doc/html/structjson__object__iter.html b/doc/html/structjson__object__iter.html index a1ba7bf..7715905 100644 --- a/doc/html/structjson__object__iter.html +++ b/doc/html/structjson__object__iter.html @@ -3,8 +3,7 @@ - - +json-c: json_object_iter Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -57,9 +62,7 @@ Data Fields

    Detailed Description

    A structure to use with json_object_object_foreachC() loops. Contains key, val and entry members.

    Field Documentation

    - -

    ◆ entry

    - +
    @@ -71,9 +74,7 @@ Data Fields - -

    ◆ key

    - +
    @@ -85,9 +86,7 @@ Data Fields - -

    ◆ val

    - +
    @@ -105,9 +104,9 @@ Data Fields diff --git a/doc/html/structjson__object__iterator.html b/doc/html/structjson__object__iterator.html index 38cbfd6..ad89aa3 100644 --- a/doc/html/structjson__object__iterator.html +++ b/doc/html/structjson__object__iterator.html @@ -3,8 +3,7 @@ - - +json-c: json_object_iterator Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -53,9 +58,7 @@ Data Fields

    Detailed Description

    The opaque iterator that references a name/value pair within a JSON Object instance or the "end" iterator value.

    Field Documentation

    - -

    ◆ opaque_

    - +
    @@ -73,9 +76,9 @@ Data Fields diff --git a/doc/html/structjson__tokener.html b/doc/html/structjson__tokener.html index 9ca6755..18b890d 100644 --- a/doc/html/structjson__tokener.html +++ b/doc/html/structjson__tokener.html @@ -3,8 +3,7 @@ - - +json-c: json_tokener Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -73,9 +78,7 @@ Data Fields  

    Field Documentation

    - -

    ◆ char_offset

    - +
    @@ -87,9 +90,7 @@ Data Fields - -

    ◆ depth

    - +
    @@ -101,9 +102,7 @@ Data Fields - -

    ◆ err

    - +
    @@ -115,9 +114,7 @@ Data Fields - -

    ◆ flags

    - +
    @@ -129,9 +126,7 @@ Data Fields - -

    ◆ is_double

    - +
    @@ -143,9 +138,7 @@ Data Fields - -

    ◆ max_depth

    - +
    @@ -157,9 +150,7 @@ Data Fields - -

    ◆ pb

    - +
    @@ -171,9 +162,7 @@ Data Fields - -

    ◆ quote_char

    - +
    @@ -185,9 +174,7 @@ Data Fields - -

    ◆ st_pos

    - +
    @@ -199,9 +186,7 @@ Data Fields - -

    ◆ stack

    - +
    @@ -213,9 +198,7 @@ Data Fields - -

    ◆ str

    - +
    @@ -227,9 +210,7 @@ Data Fields - -

    ◆ ucs_char

    - +
    @@ -247,9 +228,9 @@ Data Fields diff --git a/doc/html/structjson__tokener__srec.html b/doc/html/structjson__tokener__srec.html index 390b76d..43c6e75 100644 --- a/doc/html/structjson__tokener__srec.html +++ b/doc/html/structjson__tokener__srec.html @@ -3,8 +3,7 @@ - - +json-c: json_tokener_srec Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -57,9 +62,7 @@ Data Fields  

    Field Documentation

    - -

    ◆ current

    - +
    @@ -71,9 +74,7 @@ Data Fields - -

    ◆ obj

    - +
    @@ -85,9 +86,7 @@ Data Fields - -

    ◆ obj_field_name

    - +
    @@ -99,9 +98,7 @@ Data Fields - -

    ◆ saved_state

    - +
    @@ -119,9 +116,9 @@ Data Fields diff --git a/doc/html/structlh__entry.html b/doc/html/structlh__entry.html index d347bbc..b86dca0 100644 --- a/doc/html/structlh__entry.html +++ b/doc/html/structlh__entry.html @@ -3,8 +3,7 @@ - - +json-c: lh_entry Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -61,9 +66,7 @@ Data Fields

    Detailed Description

    An entry in the hash table

    Field Documentation

    - -

    ◆ k

    - +
    @@ -76,9 +79,7 @@ Data Fields - -

    ◆ k_is_constant

    - +
    @@ -91,9 +92,7 @@ Data Fields - -

    ◆ next

    - +
    @@ -106,9 +105,7 @@ Data Fields - -

    ◆ prev

    - +
    @@ -121,9 +118,7 @@ Data Fields - -

    ◆ v

    - +
    @@ -142,9 +137,9 @@ Data Fields diff --git a/doc/html/structlh__table.html b/doc/html/structlh__table.html index 09cf5df..40d2a4f 100644 --- a/doc/html/structlh__table.html +++ b/doc/html/structlh__table.html @@ -3,8 +3,7 @@ - - +json-c: lh_table Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -57,19 +62,17 @@ Data Fields   struct lh_entrytable   -lh_entry_free_fnfree_fn +lh_entry_free_fnfree_fn   -lh_hash_fnhash_fn +lh_hash_fnhash_fn   -lh_equal_fnequal_fn +lh_equal_fnequal_fn  

    Detailed Description

    The hash table structure.

    Field Documentation

    - -

    ◆ count

    - +
    @@ -82,28 +85,24 @@ Data Fields - -

    ◆ equal_fn

    - +
    - +
    lh_equal_fn* lh_table::equal_fnlh_equal_fn* lh_table::equal_fn
    - -

    ◆ free_fn

    - +
    - +
    lh_entry_free_fn* lh_table::free_fnlh_entry_free_fn* lh_table::free_fn
    @@ -111,23 +110,19 @@ Data Fields
    - -

    ◆ hash_fn

    - +
    - +
    lh_hash_fn* lh_table::hash_fnlh_hash_fn* lh_table::hash_fn
    - -

    ◆ head

    - +
    @@ -140,9 +135,7 @@ Data Fields - -

    ◆ size

    - +
    @@ -155,9 +148,7 @@ Data Fields - -

    ◆ table

    - +
    @@ -169,9 +160,7 @@ Data Fields - -

    ◆ tail

    - +
    @@ -190,9 +179,9 @@ Data Fields diff --git a/doc/html/structprintbuf.html b/doc/html/structprintbuf.html index bb5a1c6..a982810 100644 --- a/doc/html/structprintbuf.html +++ b/doc/html/structprintbuf.html @@ -3,8 +3,7 @@ - - +json-c: printbuf Struct Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +
    @@ -55,9 +60,7 @@ Data Fields  

    Field Documentation

    - -

    ◆ bpos

    - +
    @@ -69,9 +72,7 @@ Data Fields - -

    ◆ buf

    - +
    @@ -83,9 +84,7 @@ Data Fields - -

    ◆ size

    - +
    @@ -103,9 +102,9 @@ Data Fields diff --git a/doc/html/tabs.css b/doc/html/tabs.css index a28614b..9cf578f 100644 --- a/doc/html/tabs.css +++ b/doc/html/tabs.css @@ -1 +1,60 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#doc-content{overflow:auto;display:block;padding:0;margin:0;-webkit-overflow-scrolling:touch}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/doc/html/unionjson__object_1_1data.html b/doc/html/unionjson__object_1_1data.html index 02cef20..16ca231 100644 --- a/doc/html/unionjson__object_1_1data.html +++ b/doc/html/unionjson__object_1_1data.html @@ -3,8 +3,7 @@ - - +json-c: json_object::data Union Reference @@ -17,9 +16,9 @@
    - @@ -27,15 +26,21 @@
    +
    json-c -  0.13 +  0.13.1
    - - - - - + + +