Compare commits
45 Commits
json_objec
...
json-c-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9021cdcdd0 | ||
|
|
2d78acdbda | ||
|
|
616b1050b2 | ||
|
|
4a23d3413d | ||
|
|
730e3d044f | ||
|
|
64de4b6e9f | ||
|
|
1962ba7de3 | ||
|
|
024e835f4c | ||
|
|
78a0f2ea5d | ||
|
|
e46b9cdb7d | ||
|
|
9a7de35b92 | ||
|
|
cb10a13e94 | ||
|
|
2508109b18 | ||
|
|
4d9f6dd22e | ||
|
|
2330c6f0de | ||
|
|
6542d33cd1 | ||
|
|
10a9ac245e | ||
|
|
6fa8b7ff42 | ||
|
|
6068d3f6d1 | ||
|
|
b01d50b8dc | ||
|
|
c2c94024f5 | ||
|
|
6465e74020 | ||
|
|
34334e5d3f | ||
|
|
0b67caec1a | ||
|
|
a4e3700972 | ||
|
|
5f3bf70f03 | ||
|
|
f23486a321 | ||
|
|
6eac6986c9 | ||
|
|
84e6032883 | ||
|
|
7a72805e34 | ||
|
|
7d3c2d9fad | ||
|
|
a68566bf6a | ||
|
|
197e372464 | ||
|
|
36118b681e | ||
|
|
50179fb09f | ||
|
|
da76ee26e7 | ||
|
|
e26a1195f4 | ||
|
|
99bb2121c6 | ||
|
|
401b29c021 | ||
|
|
60494684a1 | ||
|
|
c1b872d817 | ||
|
|
bc06f82f85 | ||
|
|
481d0a8ede | ||
|
|
1c6086a86a | ||
|
|
fe308b8862 |
@@ -7,7 +7,15 @@ if(POLICY CMP0048)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# JSON-C library is C only project.
|
# JSON-C library is C only project.
|
||||||
project(json-c LANGUAGES C VERSION 0.14.99)
|
if (CMAKE_VERSION VERSION_LESS 3.0)
|
||||||
|
project(json-c)
|
||||||
|
set(PROJECT_VERSION_MAJOR "0")
|
||||||
|
set(PROJECT_VERSION_MINOR "15")
|
||||||
|
set(PROJECT_VERSION_PATCH "0")
|
||||||
|
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
|
||||||
|
else()
|
||||||
|
project(json-c LANGUAGES C VERSION 0.15)
|
||||||
|
endif()
|
||||||
|
|
||||||
# If we've got 3.0 then it's good, let's provide support. Otherwise, leave it be.
|
# If we've got 3.0 then it's good, let's provide support. Otherwise, leave it be.
|
||||||
if(POLICY CMP0038)
|
if(POLICY CMP0038)
|
||||||
@@ -88,6 +96,8 @@ option(DISABLE_THREAD_LOCAL_STORAGE "Disable using Thread-Local Storage (HAVE_
|
|||||||
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors." OFF)
|
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors." OFF)
|
||||||
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed." OFF)
|
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed." OFF)
|
||||||
option(ENABLE_THREADING "Enable partial threading support." OFF)
|
option(ENABLE_THREADING "Enable partial threading support." OFF)
|
||||||
|
option(OVERRIDE_GET_RANDOM_SEED "Override json_c_get_random_seed() with custom code." OFF)
|
||||||
|
|
||||||
|
|
||||||
if (UNIX OR MINGW OR CYGWIN)
|
if (UNIX OR MINGW OR CYGWIN)
|
||||||
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
|
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
|
||||||
@@ -102,6 +112,14 @@ if (MSVC)
|
|||||||
list(APPEND CMAKE_REQUIRED_FLAGS /wd4996)
|
list(APPEND CMAKE_REQUIRED_FLAGS /wd4996)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (NOT DISABLE_STATIC_FPIC)
|
||||||
|
# Use '-fPIC'/'-fPIE' option.
|
||||||
|
# This will allow other libraries to statically link in libjson-c.a
|
||||||
|
# which in turn prevents crashes in downstream apps that may use
|
||||||
|
# a different JSON library with identical symbol names.
|
||||||
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
check_include_file("fcntl.h" HAVE_FCNTL_H)
|
check_include_file("fcntl.h" HAVE_FCNTL_H)
|
||||||
check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
||||||
check_include_file(stdarg.h HAVE_STDARG_H)
|
check_include_file(stdarg.h HAVE_STDARG_H)
|
||||||
@@ -213,11 +231,11 @@ check_type_size("ssize_t" SIZEOF_SSIZE_T)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
[=[
|
"
|
||||||
extern void json_object_get();
|
extern void json_object_get();
|
||||||
__asm__(".section .gnu.json_object_get\\n\\t.ascii \\"Please link against libjson-c instead of libjson\\"\\n\\t.text");
|
__asm__(\".section .gnu.json_object_get\\n\\t.ascii \\\"Please link against libjson-c instead of libjson\\\"\\n\\t.text\");
|
||||||
int main(int c, char *v) { return 0;}
|
int main(int c, char *v) { return 0;}
|
||||||
]=]
|
"
|
||||||
HAS_GNU_WARNING_LONG)
|
HAS_GNU_WARNING_LONG)
|
||||||
|
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
@@ -276,7 +294,7 @@ endif()
|
|||||||
|
|
||||||
if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
[=[
|
"
|
||||||
/* uClibc toolchains without threading barf when _REENTRANT is defined */
|
/* uClibc toolchains without threading barf when _REENTRANT is defined */
|
||||||
#define _REENTRANT 1
|
#define _REENTRANT 1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -284,7 +302,7 @@ if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
]=]
|
"
|
||||||
REENTRANT_WORKS
|
REENTRANT_WORKS
|
||||||
)
|
)
|
||||||
if (REENTRANT_WORKS)
|
if (REENTRANT_WORKS)
|
||||||
@@ -295,12 +313,12 @@ if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
|||||||
# Others may not support it, too.
|
# Others may not support it, too.
|
||||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||||
check_c_source_compiles(
|
check_c_source_compiles(
|
||||||
[=[
|
"
|
||||||
int main (void)
|
int main (void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
]=]
|
"
|
||||||
BSYMBOLIC_WORKS
|
BSYMBOLIC_WORKS
|
||||||
)
|
)
|
||||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||||
@@ -309,6 +327,22 @@ if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
|||||||
# XXX need cmake>=3.13 for this:
|
# XXX need cmake>=3.13 for this:
|
||||||
#add_link_options("-Wl,-Bsymbolic-functions")
|
#add_link_options("-Wl,-Bsymbolic-functions")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym" "TEST { global: *; };")
|
||||||
|
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym")
|
||||||
|
check_c_source_compiles(
|
||||||
|
"
|
||||||
|
int main (void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
"
|
||||||
|
VERSION_SCRIPT_WORKS
|
||||||
|
)
|
||||||
|
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym")
|
||||||
|
if (VERSION_SCRIPT_WORKS)
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/json-c.sym")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if ($ENV{VALGRIND})
|
if ($ENV{VALGRIND})
|
||||||
@@ -383,7 +417,7 @@ add_library(${PROJECT_NAME}
|
|||||||
${JSON_C_HEADERS}
|
${JSON_C_HEADERS}
|
||||||
)
|
)
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
VERSION 5.0.0
|
VERSION 5.1.0
|
||||||
SOVERSION 5)
|
SOVERSION 5)
|
||||||
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
|
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
|
||||||
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
||||||
|
|||||||
58
ChangeLog
@@ -4,14 +4,36 @@ Next Release 0.15
|
|||||||
|
|
||||||
Deprecated and removed features:
|
Deprecated and removed features:
|
||||||
--------------------------------
|
--------------------------------
|
||||||
...none yet...
|
* Deprecate `array_list_new()` in favor of `array_list_new2()`
|
||||||
|
* Remove the THIS_FUNCTION_IS_DEPRECATED define.
|
||||||
|
* Remove config.h.win32
|
||||||
|
|
||||||
Other changes
|
New features
|
||||||
--------------
|
------------
|
||||||
* Add a json_parse binary, for use in testing changes (not installed).
|
* Add a `JSON_TOKENER_ALLOW_TRAILING_CHARS` flag to allow multiple objects
|
||||||
* Issue #471: always create directories with mode 0755, regardless of umask.
|
to be parsed even when `JSON_TOKENER_STRICT` is set.
|
||||||
* Added a JSON_TOKENER_ALLOW_TRAILING_CHARS flag to allow multiple objects
|
* Add `json_object_new_array_ext(int)` and `array_list_new_2(int)` to allow
|
||||||
to be parsed even when JSON_TOKENER_STRICT is set.
|
arrays to be allocated with the exact size needed, when known.
|
||||||
|
* Add `json_object_array_shrink()` (and `array_list_shrink()`) and use it in
|
||||||
|
json_tokener to minimize the amount of memory used.
|
||||||
|
* Add a json_parse binary, for use in testing changes (not installed, but
|
||||||
|
available in the apps directory).
|
||||||
|
|
||||||
|
Build changes
|
||||||
|
-------------
|
||||||
|
* #639/#621 - Add symbol versions to all exported symbols
|
||||||
|
* #508/#634 - Always enable -fPIC to allow use of the json-c static library in
|
||||||
|
other libraries
|
||||||
|
* Build both static and shared libraries at the same time.
|
||||||
|
* #626 - Restore compatibility with cmake 2.8
|
||||||
|
* #471 - Always create directories with mode 0755, regardless of umask.
|
||||||
|
* #606/#604 - Improve support for OSes like AIX and IBM i, as well as for
|
||||||
|
MINGW32 and old versions of MSVC
|
||||||
|
* #451/#617 - Add a DISABLE_THREAD_LOCAL_STORAGE cmake option to disable
|
||||||
|
the use of thread-local storage.
|
||||||
|
|
||||||
|
Significant changes and bug fixes
|
||||||
|
---------------------------------
|
||||||
* Split the internal json_object structure into several sub-types, one for
|
* Split the internal json_object structure into several sub-types, one for
|
||||||
each json_type (json_object_object, json_object_string, etc...).
|
each json_type (json_object_object, json_object_string, etc...).
|
||||||
This improves memory usage and speed, with the benchmark under
|
This improves memory usage and speed, with the benchmark under
|
||||||
@@ -19,6 +41,28 @@ Other changes
|
|||||||
less memory usage.
|
less memory usage.
|
||||||
Memory used just for json_object structures decreased 27%, so use cases
|
Memory used just for json_object structures decreased 27%, so use cases
|
||||||
with fewer arrays and/or strings would benefit more.
|
with fewer arrays and/or strings would benefit more.
|
||||||
|
* Minimize memory usage in array handling in json_tokener by shrinking
|
||||||
|
arrays to the exact number of elements parsed. On bench/ benchmark:
|
||||||
|
9% faster test time, 39%(max RSS)-50%(peak heap) less memory usage.
|
||||||
|
Add json_object_array_shrink() and array_list_shrink() functions.
|
||||||
|
* #616 - Parsing of surrogate pairs in unicode escapes now properly handles
|
||||||
|
incremental parsing.
|
||||||
|
* Fix incremental parsing of numbers, especially those with exponents, e.g.
|
||||||
|
so parsing "[0", "e+", "-]" now properly returns an error.
|
||||||
|
Strict mode now rejects missing exponents ("0e").
|
||||||
|
* Successfully return number objects at the top level even when they are
|
||||||
|
followed by a "-", "." or "e". This makes parsing things like "123-45"
|
||||||
|
behave consistently with things like "123xyz".
|
||||||
|
|
||||||
|
Other changes
|
||||||
|
-------------
|
||||||
|
* #589 - Detect broken RDRAND during initialization; also, fix segfault
|
||||||
|
in the CPUID check.
|
||||||
|
* #592 - Fix integer overflows to prevert out of bounds write on large input.
|
||||||
|
* Protect against division by zero in linkhash, when creaed with zero size.
|
||||||
|
* #602 - Fix json_parse_uint64() internal error checking, leaving the retval
|
||||||
|
untouched in more failure cases.
|
||||||
|
* #614 - Prevent truncation when custom double formatters insert extra \0's
|
||||||
|
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
This branch implements the changes briefly described at:
|
|
||||||
|
|
||||||
https://github.com/json-c/json-c/wiki/Proposal:-struct-json_object-split
|
|
||||||
|
|
||||||
These were originally mentioned in:
|
|
||||||
Issue #535 - short string optimization: excessive array length
|
|
||||||
|
|
||||||
The changes are expected to impact and possibly invalidate:
|
|
||||||
Issue #552 - Some anlysis about memory allocator in json-c
|
|
||||||
|
|
||||||
and will likely cause notable conflicts in any other significant un-merged
|
|
||||||
changes, such as PR#620 - Introduce json_object_new_string_{ext,noalloc}()
|
|
||||||
|
|
||||||
|
|
||||||
38
README.md
@@ -1,3 +1,5 @@
|
|||||||
|
\mainpage
|
||||||
|
|
||||||
`json-c`
|
`json-c`
|
||||||
========
|
========
|
||||||
|
|
||||||
@@ -99,11 +101,13 @@ CMAKE_INSTALL_PREFIX | String | The install location.
|
|||||||
CMAKE_BUILD_TYPE | String | Defaults to "debug".
|
CMAKE_BUILD_TYPE | String | Defaults to "debug".
|
||||||
BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only.
|
BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only.
|
||||||
BUILD_STATIC_LIBS | Bool | The default build generates a static (lib/a) library. Set this to OFF to create a shared library only.
|
BUILD_STATIC_LIBS | Bool | The default build generates a static (lib/a) library. Set this to OFF to create a shared library only.
|
||||||
|
DISABLE_STATIC_FPIC | Bool | The default builds position independent code. Set this to OFF to create a shared library only.
|
||||||
DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions.
|
DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions.
|
||||||
DISABLE_THREAD_LOCAL_STORAGE | Bool | Disable use of Thread-Local Storage (HAVE___THREAD).
|
DISABLE_THREAD_LOCAL_STORAGE | Bool | Disable use of Thread-Local Storage (HAVE___THREAD).
|
||||||
DISABLE_WERROR | Bool | Disable use of -Werror.
|
DISABLE_WERROR | Bool | Disable use of -Werror.
|
||||||
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed.
|
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed.
|
||||||
ENABLE_THREADING | Bool | Enable partial threading support.
|
ENABLE_THREADING | Bool | Enable partial threading support.
|
||||||
|
OVERRIDE_GET_RANDOM_SEED | String | A block of code to use instead of the default implementation of json_c_get_random_seed(), e.g. on embedded platforms where not even the fallback to time() works. Must be a single line.
|
||||||
|
|
||||||
Pass these options as `-D` on CMake's command-line.
|
Pass these options as `-D` on CMake's command-line.
|
||||||
|
|
||||||
@@ -235,8 +239,38 @@ following more specific header files:
|
|||||||
* json_tokener.h - Methods for parsing and serializing json-c object trees.
|
* json_tokener.h - Methods for parsing and serializing json-c object trees.
|
||||||
* json_pointer.h - JSON Pointer (RFC 6901) implementation for retrieving
|
* json_pointer.h - JSON Pointer (RFC 6901) implementation for retrieving
|
||||||
objects from a json-c object tree.
|
objects from a json-c object tree.
|
||||||
* json_object_iterator.h - Methods for iterating over single json_object instances.
|
* json_object_iterator.h - Methods for iterating over single json_object instances. (See also `json_object_object_foreach()` in json_object.h)
|
||||||
* json_visit.h - Methods for walking a tree of json-c objects.
|
* json_visit.h - Methods for walking a tree of json-c objects.
|
||||||
* json_util.h - Miscelleanous utility functions.
|
* json_util.h - Miscelleanous utility functions.
|
||||||
|
|
||||||
For a full list of headers see [files.html](http://json-c.github.io/json-c/json-c-0.13.1/doc/html/files.html)
|
For a full list of headers see [files.html](http://json-c.github.io/json-c/json-c-current-release/doc/html/files.html)
|
||||||
|
|
||||||
|
The primary type in json-c is json_object. It describes a reference counted
|
||||||
|
tree of json objects which are created by either parsing text with a
|
||||||
|
json_tokener (i.e. `json_tokener_parse_ex()`), or by creating
|
||||||
|
(with `json_object_new_object()`, `json_object_new_int()`, etc...) and adding
|
||||||
|
(with `json_object_object_add()`, `json_object_array_add()`, etc...) them
|
||||||
|
individually.
|
||||||
|
Typically, every object in the tree will have one reference, from it's parent.
|
||||||
|
When you are done with the tree of objects, you call json_object_put() on just
|
||||||
|
the root object to free it, which recurses down through any child objects
|
||||||
|
calling json_object_put() on each one of those in turn.
|
||||||
|
|
||||||
|
You can get a reference to a single child
|
||||||
|
(`json_object_object_get()` or `json_object_array_get_idx()`)
|
||||||
|
and use that object as long as its parent is valid.
|
||||||
|
If you need a child object to live longer than its parent, you can
|
||||||
|
increment the child's refcount (`json_object_get()`) to allow it to survive
|
||||||
|
the parent being freed or it being removed from its parent
|
||||||
|
(`json_object_object_del()` or `json_object_array_del_idx()`)
|
||||||
|
|
||||||
|
When parsing text, the json_tokener object is independent from the json_object
|
||||||
|
that it returns. It can be allocated (`json_tokener_new()`)
|
||||||
|
used ones or multiple times (`json_tokener_parse_ex()`, and
|
||||||
|
freed (`json_tokener_free()`) while the json_object objects live on.
|
||||||
|
|
||||||
|
A json_object tree can be serialized back into a string with
|
||||||
|
`json_object_to_json_string_ext()`. The string that is returned
|
||||||
|
is only valid until the next "to_json_string" call on that same object.
|
||||||
|
Also, it is freed when the json_object is freed.
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,8 @@
|
|||||||
* https://github.com/lvc/abi-compliance-checker
|
* https://github.com/lvc/abi-compliance-checker
|
||||||
* If the new release is not backwards compatible, then this is a MAJOR release.
|
* If the new release is not backwards compatible, then this is a MAJOR release.
|
||||||
* Mention removed features in ChangeLog
|
* Mention removed features in ChangeLog
|
||||||
|
* Consider re-adding backwards compatible support, through symbol
|
||||||
|
aliases and appropriate entries in json-c.sym
|
||||||
* Update the AUTHORS file
|
* Update the AUTHORS file
|
||||||
* Exclude mentioning changes that have already been included in a point
|
* Exclude mentioning changes that have already been included in a point
|
||||||
release of the previous release branch.
|
release of the previous release branch.
|
||||||
@@ -63,6 +65,11 @@ to
|
|||||||
|
|
||||||
git commit -a -m "Bump version to ${release}"
|
git commit -a -m "Bump version to ${release}"
|
||||||
|
|
||||||
|
If we're doing a major release (SONAME bump), also bump the version
|
||||||
|
of ALL symbols in json-c.sym.
|
||||||
|
See explanation at https://github.com/json-c/json-c/issues/621
|
||||||
|
More info at: https://software.intel.com/sites/default/files/m/a/1/e/dsohowto.pdf
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Generate the doxygen documentation:
|
Generate the doxygen documentation:
|
||||||
|
|||||||
29
arraylist.c
@@ -37,13 +37,18 @@
|
|||||||
#include "arraylist.h"
|
#include "arraylist.h"
|
||||||
|
|
||||||
struct array_list *array_list_new(array_list_free_fn *free_fn)
|
struct array_list *array_list_new(array_list_free_fn *free_fn)
|
||||||
|
{
|
||||||
|
return array_list_new2(free_fn, ARRAY_LIST_DEFAULT_SIZE);
|
||||||
|
}
|
||||||
|
|
||||||
|
struct array_list *array_list_new2(array_list_free_fn *free_fn, int initial_size)
|
||||||
{
|
{
|
||||||
struct array_list *arr;
|
struct array_list *arr;
|
||||||
|
|
||||||
arr = (struct array_list *)malloc(sizeof(struct array_list));
|
arr = (struct array_list *)malloc(sizeof(struct array_list));
|
||||||
if (!arr)
|
if (!arr)
|
||||||
return NULL;
|
return NULL;
|
||||||
arr->size = ARRAY_LIST_DEFAULT_SIZE;
|
arr->size = initial_size;
|
||||||
arr->length = 0;
|
arr->length = 0;
|
||||||
arr->free_fn = free_fn;
|
arr->free_fn = free_fn;
|
||||||
if (!(arr->array = (void **)malloc(arr->size * sizeof(void *))))
|
if (!(arr->array = (void **)malloc(arr->size * sizeof(void *))))
|
||||||
@@ -96,6 +101,26 @@ static int array_list_expand_internal(struct array_list *arr, size_t max)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int array_list_shrink(struct array_list *arr, size_t empty_slots)
|
||||||
|
{
|
||||||
|
void *t;
|
||||||
|
size_t new_size;
|
||||||
|
|
||||||
|
new_size = arr->length + empty_slots;
|
||||||
|
if (new_size == arr->size)
|
||||||
|
return 0;
|
||||||
|
if (new_size > arr->size)
|
||||||
|
return array_list_expand_internal(arr, new_size);
|
||||||
|
if (new_size == 0)
|
||||||
|
new_size = 1;
|
||||||
|
|
||||||
|
if (!(t = realloc(arr->array, new_size * sizeof(void *))))
|
||||||
|
return -1;
|
||||||
|
arr->array = (void **)t;
|
||||||
|
arr->size = new_size;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
//static inline int _array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
//static inline int _array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||||
int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||||
{
|
{
|
||||||
@@ -165,6 +190,8 @@ int array_list_del_idx(struct array_list *arr, size_t idx, size_t count)
|
|||||||
return -1;
|
return -1;
|
||||||
for (i = idx; i < stop; ++i)
|
for (i = idx; i < stop; ++i)
|
||||||
{
|
{
|
||||||
|
// Because put_idx can skip entries, we need to check if
|
||||||
|
// there's actually anything in each slot we're erasing.
|
||||||
if (arr->array[i])
|
if (arr->array[i])
|
||||||
arr->free_fn(arr->array[i]);
|
arr->free_fn(arr->array[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
25
arraylist.h
@@ -37,8 +37,27 @@ struct array_list
|
|||||||
};
|
};
|
||||||
typedef struct array_list array_list;
|
typedef struct array_list array_list;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Allocate an array_list of the default size (32).
|
||||||
|
* @deprecated Use array_list_new2() instead.
|
||||||
|
*/
|
||||||
extern struct array_list *array_list_new(array_list_free_fn *free_fn);
|
extern struct array_list *array_list_new(array_list_free_fn *free_fn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Allocate an array_list of the desired size.
|
||||||
|
*
|
||||||
|
* If possible, the size should be chosen to closely match
|
||||||
|
* the actual number of elements expected to be used.
|
||||||
|
* If the exact size is unknown, there are tradeoffs to be made:
|
||||||
|
* - too small - the array_list code will need to call realloc() more
|
||||||
|
* often (which might incur an additional memory copy).
|
||||||
|
* - too large - will waste memory, but that can be mitigated
|
||||||
|
* by calling array_list_shrink() once the final size is known.
|
||||||
|
*
|
||||||
|
* @see array_list_shrink
|
||||||
|
*/
|
||||||
|
extern struct array_list *array_list_new2(array_list_free_fn *free_fn, int initial_size);
|
||||||
|
|
||||||
extern void array_list_free(struct array_list *al);
|
extern void array_list_free(struct array_list *al);
|
||||||
|
|
||||||
extern void *array_list_get_idx(struct array_list *al, size_t i);
|
extern void *array_list_get_idx(struct array_list *al, size_t i);
|
||||||
@@ -56,6 +75,12 @@ extern void *array_list_bsearch(const void **key, struct array_list *arr,
|
|||||||
|
|
||||||
extern int array_list_del_idx(struct array_list *arr, size_t idx, size_t count);
|
extern int array_list_del_idx(struct array_list *arr, size_t idx, size_t count);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shrink the array list to just enough to fit the number of elements in it,
|
||||||
|
* plus empty_slots.
|
||||||
|
*/
|
||||||
|
extern int array_list_shrink(struct array_list *arr, size_t empty_slots);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
/* Enable RDRAND Hardware RNG Hash Seed */
|
/* Enable RDRAND Hardware RNG Hash Seed */
|
||||||
#cmakedefine ENABLE_RDRAND "@ENABLE_RDRAND@"
|
#cmakedefine ENABLE_RDRAND "@ENABLE_RDRAND@"
|
||||||
|
|
||||||
|
/* Override json_c_get_random_seed() with custom code */
|
||||||
|
#cmakedefine OVERRIDE_GET_RANDOM_SEED @OVERRIDE_GET_RANDOM_SEED@
|
||||||
|
|
||||||
/* Enable partial threading support */
|
/* Enable partial threading support */
|
||||||
#cmakedefine ENABLE_THREADING "@@"
|
#cmakedefine ENABLE_THREADING "@@"
|
||||||
|
|
||||||
|
|||||||
207
config.h.win32
@@ -1,207 +0,0 @@
|
|||||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
||||||
|
|
||||||
/* Enable RDRANR Hardware RNG Hash Seed */
|
|
||||||
#undef ENABLE_RDRAND
|
|
||||||
|
|
||||||
/* Define if .gnu.warning accepts long strings. */
|
|
||||||
#undef HAS_GNU_WARNING_LONG
|
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
|
|
||||||
don't. */
|
|
||||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
|
||||||
#define HAVE_DECL_INFINITY 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
|
||||||
*/
|
|
||||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
|
||||||
#define HAVE_DECL_ISINF 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
|
||||||
*/
|
|
||||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
|
||||||
#define HAVE_DECL_ISNAN 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
|
|
||||||
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
|
|
||||||
#define HAVE_DECL_NAN 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
|
|
||||||
don't. */
|
|
||||||
#define HAVE_DECL__FINITE 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
|
|
||||||
*/
|
|
||||||
#define HAVE_DECL__ISNAN 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
||||||
#define HAVE_DLFCN_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
|
||||||
#define HAVE_DOPRNT 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <endian.h> header file. */
|
|
||||||
#undef HAVE_ENDIAN_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
||||||
#define HAVE_FCNTL_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
||||||
#define HAVE_INTTYPES_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <limits.h> header file. */
|
|
||||||
#define HAVE_LIMITS_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <locale.h> header file. */
|
|
||||||
#define HAVE_LOCALE_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
|
||||||
to 0 otherwise. */
|
|
||||||
#define HAVE_MALLOC 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#define HAVE_MEMORY_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `open' function. */
|
|
||||||
#define HAVE_OPEN 1
|
|
||||||
|
|
||||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
|
||||||
and to 0 otherwise. */
|
|
||||||
#define HAVE_REALLOC 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `setlocale' function. */
|
|
||||||
#define HAVE_SETLOCALE 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `snprintf' function. */
|
|
||||||
#if defined(__MINGW32__)
|
|
||||||
#define HAVE_SNPRINTF 1
|
|
||||||
#else
|
|
||||||
#undef HAVE_SNPRINTF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
|
||||||
#define HAVE_STDARG_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#define HAVE_STDINT_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
||||||
#define HAVE_STDLIB_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strcasecmp' function. */
|
|
||||||
#define HAVE_STRCASECMP 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strdup' function. */
|
|
||||||
#define HAVE_STRDUP 0
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strerror' function. */
|
|
||||||
#define HAVE_STRERROR 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
|
||||||
#undef HAVE_STRINGS_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
|
||||||
#define HAVE_STRING_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strncasecmp' function. */
|
|
||||||
#if defined(__MINGW32__)
|
|
||||||
#define HAVE_STRNCASECMP 1
|
|
||||||
#else
|
|
||||||
#undef HAVE_STRNCASECMP
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#cmakedefine HAVE_STRTOLL
|
|
||||||
#cmakedefine strtoll @cmake_strtoll@
|
|
||||||
#cmakedefine HAVE_STRTOULL
|
|
||||||
#cmakedefine strtoull @cmake_strtoull@
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <syslog.h> header file. */
|
|
||||||
#undef HAVE_SYSLOG_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
|
||||||
#define HAVE_SYS_CDEFS_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
||||||
#if defined(__MINGW32__)
|
|
||||||
#define HAVE_SYS_PARAM_H 1
|
|
||||||
#else
|
|
||||||
#undef HAVE_SYS_PARAM_H
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
||||||
#define HAVE_SYS_STAT_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
||||||
#define HAVE_SYS_TYPES_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
#if defined(__MINGW32__)
|
|
||||||
#define HAVE_UNISTD_H 1
|
|
||||||
#else
|
|
||||||
#undef HAVE_UNISTD_H
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `vasprintf' function. */
|
|
||||||
#if defined(__MINGW32__)
|
|
||||||
#define HAVE_VASPRINTF 1
|
|
||||||
#else
|
|
||||||
#undef HAVE_VASPRINTF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `vprintf' function. */
|
|
||||||
#define HAVE_VPRINTF 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `vsnprintf' function. */
|
|
||||||
#define HAVE_VSNPRINTF 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `vsyslog' function. */
|
|
||||||
#undef HAVE_VSYSLOG
|
|
||||||
|
|
||||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
||||||
*/
|
|
||||||
#undef LT_OBJDIR
|
|
||||||
|
|
||||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
|
||||||
/* #undef NO_MINUS_C_MINUS_O */
|
|
||||||
|
|
||||||
/* Name of package */
|
|
||||||
#define PACKAGE "json-c"
|
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
|
||||||
#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
|
|
||||||
|
|
||||||
/* Define to the full name of this package. */
|
|
||||||
#define PACKAGE_NAME "JSON C Library"
|
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
|
||||||
#define PACKAGE_STRING "JSON C Library 0.14.99"
|
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
|
||||||
#define PACKAGE_TARNAME "json-c"
|
|
||||||
|
|
||||||
/* Define to the home page for this package. */
|
|
||||||
#define PACKAGE_URL "https://github.com/json-c/json-c"
|
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
|
||||||
#define PACKAGE_VERSION "0.14.99"
|
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
|
||||||
#define STDC_HEADERS 1
|
|
||||||
|
|
||||||
/* Version number of package */
|
|
||||||
#define VERSION "0.14.99"
|
|
||||||
|
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
|
||||||
/* #undef const */
|
|
||||||
|
|
||||||
/* Define to rpl_malloc if the replacement function should be used. */
|
|
||||||
/* #undef malloc */
|
|
||||||
|
|
||||||
/* Define to rpl_realloc if the replacement function should be used. */
|
|
||||||
/* #undef realloc */
|
|
||||||
|
|
||||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
||||||
/* #undef size_t */
|
|
||||||
2363
doc/Doxyfile
Normal file
@@ -805,7 +805,13 @@ EXCLUDE_SYMLINKS = NO
|
|||||||
# Note that the wildcards are matched against the file with absolute path, so to
|
# Note that the wildcards are matched against the file with absolute path, so to
|
||||||
# exclude all test directories for example use the pattern */test/*
|
# exclude all test directories for example use the pattern */test/*
|
||||||
|
|
||||||
EXCLUDE_PATTERNS =
|
EXCLUDE_PATTERNS = \
|
||||||
|
*/json_object_private.h \
|
||||||
|
*/debug.h \
|
||||||
|
*/*config.h \
|
||||||
|
*/random_seed.h \
|
||||||
|
*/strerror_*h \
|
||||||
|
*/*compat.h
|
||||||
|
|
||||||
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
||||||
# (namespaces, classes, functions, etc.) that should be excluded from the
|
# (namespaces, classes, functions, etc.) that should be excluded from the
|
||||||
@@ -816,7 +822,11 @@ EXCLUDE_PATTERNS =
|
|||||||
# Note that the wildcards are matched against the file with absolute path, so to
|
# Note that the wildcards are matched against the file with absolute path, so to
|
||||||
# exclude all test directories use the pattern */test/*
|
# exclude all test directories use the pattern */test/*
|
||||||
|
|
||||||
EXCLUDE_SYMBOLS =
|
EXCLUDE_SYMBOLS = \
|
||||||
|
_json_c_* \
|
||||||
|
_LH_* \
|
||||||
|
_printbuf_* \
|
||||||
|
__STRING
|
||||||
|
|
||||||
# The EXAMPLE_PATH tag can be used to specify one or more files or directories
|
# The EXAMPLE_PATH tag can be used to specify one or more files or directories
|
||||||
# that contain example code fragments that are included (see the \include
|
# that contain example code fragments that are included (see the \include
|
||||||
@@ -859,7 +869,7 @@ IMAGE_PATH =
|
|||||||
# code is scanned, but not when the output code is generated. If lines are added
|
# code is scanned, but not when the output code is generated. If lines are added
|
||||||
# or removed, the anchors will not be placed correctly.
|
# or removed, the anchors will not be placed correctly.
|
||||||
|
|
||||||
INPUT_FILTER =
|
INPUT_FILTER = @CMAKE_CURRENT_SOURCE_DIR@/fixup_markdown.sh
|
||||||
|
|
||||||
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
|
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
|
||||||
# basis. Doxygen will compare the file name with each pattern and apply the
|
# basis. Doxygen will compare the file name with each pattern and apply the
|
||||||
|
|||||||
6
doc/fixup_markdown.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Doxygen markdown doesn't support triple-backticks like github does.
|
||||||
|
# Convert all of those to space-prefixed blocks instead.
|
||||||
|
#
|
||||||
|
awk '/```/ { prefix=!prefix; print ""; next; } { if (prefix) { printf " "; } print $0; } ' "$@"
|
||||||
57
doc/html/README_8md.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/README.md File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">/home/erh/json-c-0.15/README.md File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
69
doc/html/annotated.html
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Structures</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Data Structures</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here are the data structures with brief descriptions:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structarray__list.html" target="_self">array_list</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__object__iter.html" target="_self">json_object_iter</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_2_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__object__iterator.html" target="_self">json_object_iterator</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_3_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__tokener.html" target="_self">json_tokener</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_4_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__tokener__srec.html" target="_self">json_tokener_srec</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_5_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structlh__entry.html" target="_self">lh_entry</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_6_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structlh__table.html" target="_self">lh_table</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_7_"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structprintbuf.html" target="_self">printbuf</a></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
453
doc/html/arraylist_8h.html
Normal file
@@ -0,0 +1,453 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/arraylist.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">arraylist.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object_get_array()</a> method, it is not recommended for direct use.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarray__list.html">array_list</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:acd30d910b398421574eb1f59e78617f5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">ARRAY_LIST_DEFAULT_SIZE</a>   32</td></tr>
|
||||||
|
<tr class="separator:acd30d910b398421574eb1f59e78617f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:aad83e4ed3c8ea274e6f18459276d774b"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> )(void *data)</td></tr>
|
||||||
|
<tr class="separator:aad83e4ed3c8ea274e6f18459276d774b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6d6d32d8b026ea2025df519b9e90f44a"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structarray__list.html">array_list</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">array_list</a></td></tr>
|
||||||
|
<tr class="separator:a6d6d32d8b026ea2025df519b9e90f44a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a0d4bfac055dfd98e17296142abf4d894"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structarray__list.html">array_list</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a0d4bfac055dfd98e17296142abf4d894">array_list_new</a> (<a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> *free_fn)</td></tr>
|
||||||
|
<tr class="separator:a0d4bfac055dfd98e17296142abf4d894"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae3e43dc68f5d1815f3aaa36916602e45"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structarray__list.html">array_list</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#ae3e43dc68f5d1815f3aaa36916602e45">array_list_new2</a> (<a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> *free_fn, int initial_size)</td></tr>
|
||||||
|
<tr class="separator:ae3e43dc68f5d1815f3aaa36916602e45"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:acd00fb70f7ca82f23b48b812c3498f67"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">array_list_free</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al)</td></tr>
|
||||||
|
<tr class="separator:acd00fb70f7ca82f23b48b812c3498f67"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a114f1af5b20b76a3dbb2d1d055006df8"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a114f1af5b20b76a3dbb2d1d055006df8">array_list_get_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, size_t i)</td></tr>
|
||||||
|
<tr class="separator:a114f1af5b20b76a3dbb2d1d055006df8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9f92076e9d8229f8a07e536dc286f811"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">array_list_put_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, size_t i, void *data)</td></tr>
|
||||||
|
<tr class="separator:a9f92076e9d8229f8a07e536dc286f811"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6e995608aa464244ff3184fb43574dc8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">array_list_add</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, void *data)</td></tr>
|
||||||
|
<tr class="separator:a6e995608aa464244ff3184fb43574dc8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa3bf90f47aa210032304b14e7ad09ef7"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">array_list_length</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al)</td></tr>
|
||||||
|
<tr class="separator:aa3bf90f47aa210032304b14e7ad09ef7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afb67cc8e2e5c9be41c3e644536079169"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">array_list_sort</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, int(*compar)(const void *, const void *))</td></tr>
|
||||||
|
<tr class="separator:afb67cc8e2e5c9be41c3e644536079169"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac5d066b971fee72ce80084c1694109e3"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#ac5d066b971fee72ce80084c1694109e3">array_list_bsearch</a> (const void **key, struct <a class="el" href="structarray__list.html">array_list</a> *arr, int(*compar)(const void *, const void *))</td></tr>
|
||||||
|
<tr class="separator:ac5d066b971fee72ce80084c1694109e3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aecedd8601ee96e2fd8eff5d83fda89ab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">array_list_del_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, size_t idx, size_t count)</td></tr>
|
||||||
|
<tr class="separator:aecedd8601ee96e2fd8eff5d83fda89ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aff21b2a00573f8f0085b81ce1de1a850"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">array_list_shrink</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, size_t empty_slots)</td></tr>
|
||||||
|
<tr class="separator:aff21b2a00573f8f0085b81ce1de1a850"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object_get_array()</a> method, it is not recommended for direct use. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="acd30d910b398421574eb1f59e78617f5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define ARRAY_LIST_DEFAULT_SIZE   32</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a6d6d32d8b026ea2025df519b9e90f44a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structarray__list.html">array_list</a> <a class="el" href="structarray__list.html">array_list</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aad83e4ed3c8ea274e6f18459276d774b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef void( array_list_free_fn)(void *data)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a6e995608aa464244ff3184fb43574dc8"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int array_list_add </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void * </td>
|
||||||
|
<td class="paramname"><em>data</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac5d066b971fee72ce80084c1694109e3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void* array_list_bsearch </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const void ** </td>
|
||||||
|
<td class="paramname"><em>key</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>arr</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int(*)(const void *, const void *) </td>
|
||||||
|
<td class="paramname"><em>compar</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aecedd8601ee96e2fd8eff5d83fda89ab"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int array_list_del_idx </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>arr</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>idx</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>count</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="acd00fb70f7ca82f23b48b812c3498f67"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void array_list_free </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a114f1af5b20b76a3dbb2d1d055006df8"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void* array_list_get_idx </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>i</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aa3bf90f47aa210032304b14e7ad09ef7"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">size_t array_list_length </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a0d4bfac055dfd98e17296142abf4d894"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structarray__list.html">array_list</a>* array_list_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Allocate an <a class="el" href="structarray__list.html">array_list</a> of the default size (32). </p>
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Use <a class="el" href="arraylist_8h.html#ae3e43dc68f5d1815f3aaa36916602e45">array_list_new2()</a> instead. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae3e43dc68f5d1815f3aaa36916602e45"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structarray__list.html">array_list</a>* array_list_new2 </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>initial_size</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Allocate an <a class="el" href="structarray__list.html">array_list</a> of the desired size.</p>
|
||||||
|
<p>If possible, the size should be chosen to closely match the actual number of elements expected to be used. If the exact size is unknown, there are tradeoffs to be made:</p>
|
||||||
|
<ul>
|
||||||
|
<li>too small - the <a class="el" href="structarray__list.html">array_list</a> code will need to call realloc() more often (which might incur an additional memory copy).</li>
|
||||||
|
<li>too large - will waste memory, but that can be mitigated by calling <a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">array_list_shrink()</a> once the final size is known.</li>
|
||||||
|
</ul>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">array_list_shrink</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9f92076e9d8229f8a07e536dc286f811"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int array_list_put_idx </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>al</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>i</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void * </td>
|
||||||
|
<td class="paramname"><em>data</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aff21b2a00573f8f0085b81ce1de1a850"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int array_list_shrink </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>arr</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">size_t </td>
|
||||||
|
<td class="paramname"><em>empty_slots</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Shrink the array list to just enough to fit the number of elements in it, plus empty_slots. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="afb67cc8e2e5c9be41c3e644536079169"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void array_list_sort </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||||
|
<td class="paramname"><em>arr</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int(*)(const void *, const void *) </td>
|
||||||
|
<td class="paramname"><em>compar</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/bc_s.png
Normal file
|
After Width: | Height: | Size: 676 B |
BIN
doc/html/bdwn.png
Normal file
|
After Width: | Height: | Size: 147 B |
72
doc/html/classes.html
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Structure Index</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Data Structure Index</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_J">J</a> | <a class="qindex" href="#letter_L">L</a> | <a class="qindex" href="#letter_P">P</a></div>
|
||||||
|
<table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr><td rowspan="2" valign="bottom"><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  A  </div></td></tr></table>
|
||||||
|
</td><td valign="top"><a class="el" href="structjson__object__iterator.html">json_object_iterator</a>   </td><td valign="top"><a class="el" href="structlh__table.html">lh_table</a>   </td><td></td></tr>
|
||||||
|
<tr><td valign="top"><a class="el" href="structjson__tokener.html">json_tokener</a>   </td><td rowspan="2" valign="bottom"><a name="letter_P"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  P  </div></td></tr></table>
|
||||||
|
</td><td></td></tr>
|
||||||
|
<tr><td valign="top"><a class="el" href="structarray__list.html">array_list</a>   </td><td valign="top"><a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a>   </td><td></td></tr>
|
||||||
|
<tr><td rowspan="2" valign="bottom"><a name="letter_J"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  J  </div></td></tr></table>
|
||||||
|
</td><td rowspan="2" valign="bottom"><a name="letter_L"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  L  </div></td></tr></table>
|
||||||
|
</td><td valign="top"><a class="el" href="structprintbuf.html">printbuf</a>   </td><td></td></tr>
|
||||||
|
<tr><td></td><td></td></tr>
|
||||||
|
<tr><td valign="top"><a class="el" href="structjson__object__iter.html">json_object_iter</a>   </td><td valign="top"><a class="el" href="structlh__entry.html">lh_entry</a>   </td><td></td><td></td></tr>
|
||||||
|
<tr><td></td><td></td><td></td><td></td></tr>
|
||||||
|
</table>
|
||||||
|
<div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_J">J</a> | <a class="qindex" href="#letter_L">L</a> | <a class="qindex" href="#letter_P">P</a></div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/closed.png
Normal file
|
After Width: | Height: | Size: 132 B |
69
doc/html/deprecated.html
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Deprecated List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Deprecated List </div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><dl class="reflist">
|
||||||
|
<dt><a class="anchor" id="_deprecated000001"></a>Global <a class="el" href="arraylist_8h.html#a0d4bfac055dfd98e17296142abf4d894">array_list_new</a> (array_list_free_fn *free_fn)</dt>
|
||||||
|
<dd>Use <a class="el" href="arraylist_8h.html#ae3e43dc68f5d1815f3aaa36916602e45">array_list_new2()</a> instead. </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000008"></a>Global <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_parse_double</a> (const char *buf, double *retval)</dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000004"></a>Global <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener</a> </dt>
|
||||||
|
<dd>Unused in json-c code </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000006"></a>Global <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener::char_offset</a> </dt>
|
||||||
|
<dd>See <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end()</a> instead. </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000007"></a>Global <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener::err</a> </dt>
|
||||||
|
<dd>See <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> instead. </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000005"></a>Global <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener::str</a> </dt>
|
||||||
|
<dd>Do not access any of these fields outside of json_tokener.c </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000003"></a>Class <a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a> </dt>
|
||||||
|
<dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd>
|
||||||
|
<dt><a class="anchor" id="_deprecated000002"></a>Global <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> </dt>
|
||||||
|
<dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd>
|
||||||
|
</dl>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
98
doc/html/dir_71f13e590eb9d766c31051438785ada5.html
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15 Directory Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json-c-0.15 Directory Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a>
|
||||||
|
Files</h2></td></tr>
|
||||||
|
<tr class="memitem:arraylist_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html">arraylist.h</a></td></tr>
|
||||||
|
<tr class="memdesc:arraylist_8h"><td class="mdescLeft"> </td><td class="mdescRight">Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object_get_array()</a> method, it is not recommended for direct use. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json_8h.html">json.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json_8h"><td class="mdescLeft"> </td><td class="mdescRight">A convenience header that may be included instead of other individual ones. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__c__version_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html">json_c_version.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__c__version_8h"><td class="mdescLeft"> </td><td class="mdescRight">Methods for retrieving the json-c version. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__inttypes_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html">json_inttypes.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__inttypes_8h"><td class="mdescLeft"> </td><td class="mdescRight">Do not use, json-c internal, may be changed or removed at any time. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__object_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object_8h.html">json_object.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__object_8h"><td class="mdescLeft"> </td><td class="mdescRight">Core json-c API. Start here, or with <a class="el" href="json__tokener_8h.html" title="Methods to parse an input string into a tree of json_object objects.">json_tokener.h</a>. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__object__iterator_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html">json_object_iterator.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__object__iterator_8h"><td class="mdescLeft"> </td><td class="mdescRight">An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a>. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__pointer_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html">json_pointer.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__pointer_8h"><td class="mdescLeft"> </td><td class="mdescRight">JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__tokener_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html">json_tokener.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__tokener_8h"><td class="mdescLeft"> </td><td class="mdescRight">Methods to parse an input string into a tree of json_object objects. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__types_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html">json_types.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__types_8h"><td class="mdescLeft"> </td><td class="mdescRight">Basic types used in a few places in json-c, but you should include "json_object.h" instead. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__util_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html">json_util.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__util_8h"><td class="mdescLeft"> </td><td class="mdescRight">Miscllaneous utility functions and macros. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:json__visit_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html">json_visit.h</a></td></tr>
|
||||||
|
<tr class="memdesc:json__visit_8h"><td class="mdescLeft"> </td><td class="mdescRight">Methods for walking a tree of objects. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:linkhash_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html">linkhash.h</a></td></tr>
|
||||||
|
<tr class="memdesc:linkhash_8h"><td class="mdescLeft"> </td><td class="mdescRight">Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:printbuf_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html">printbuf.h</a></td></tr>
|
||||||
|
<tr class="memdesc:printbuf_8h"><td class="mdescLeft"> </td><td class="mdescRight">Internal string buffer handing. Unless you're writing a json_object_to_json_string_fn implementation for use with <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object_set_serializer()</a> direct use of this is not recommended. <br/></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
1172
doc/html/doxygen.css
Normal file
BIN
doc/html/doxygen.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
78
doc/html/dynsections.js
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
function toggleVisibility(linkObj)
|
||||||
|
{
|
||||||
|
var base = $(linkObj).attr('id');
|
||||||
|
var summary = $('#'+base+'-summary');
|
||||||
|
var content = $('#'+base+'-content');
|
||||||
|
var trigger = $('#'+base+'-trigger');
|
||||||
|
var src=$(trigger).attr('src');
|
||||||
|
if (content.is(':visible')===true) {
|
||||||
|
content.hide();
|
||||||
|
summary.show();
|
||||||
|
$(linkObj).addClass('closed').removeClass('opened');
|
||||||
|
$(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||||
|
} else {
|
||||||
|
content.show();
|
||||||
|
summary.hide();
|
||||||
|
$(linkObj).removeClass('closed').addClass('opened');
|
||||||
|
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateStripes()
|
||||||
|
{
|
||||||
|
$('table.directory tr').
|
||||||
|
removeClass('even').filter(':visible:even').addClass('even');
|
||||||
|
}
|
||||||
|
function toggleLevel(level)
|
||||||
|
{
|
||||||
|
$('table.directory tr').each(function(){
|
||||||
|
var l = this.id.split('_').length-1;
|
||||||
|
var i = $('#img'+this.id.substring(3));
|
||||||
|
var a = $('#arr'+this.id.substring(3));
|
||||||
|
if (l<level+1) {
|
||||||
|
i.attr('src','ftv2folderopen.png');
|
||||||
|
a.attr('src','ftv2mnode.png');
|
||||||
|
$(this).show();
|
||||||
|
} else if (l==level+1) {
|
||||||
|
i.attr('src','ftv2folderclosed.png');
|
||||||
|
a.attr('src','ftv2pnode.png');
|
||||||
|
$(this).show();
|
||||||
|
} else {
|
||||||
|
$(this).hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
updateStripes();
|
||||||
|
}
|
||||||
|
function toggleFolder(id)
|
||||||
|
{
|
||||||
|
var n = $('[id^=row_'+id+']');
|
||||||
|
var i = $('[id^=img_'+id+']');
|
||||||
|
var a = $('[id^=arr_'+id+']');
|
||||||
|
var c = n.slice(1);
|
||||||
|
if (c.filter(':first').is(':visible')===true) {
|
||||||
|
i.attr('src','ftv2folderclosed.png');
|
||||||
|
a.attr('src','ftv2pnode.png');
|
||||||
|
c.hide();
|
||||||
|
} else {
|
||||||
|
i.attr('src','ftv2folderopen.png');
|
||||||
|
a.attr('src','ftv2mnode.png');
|
||||||
|
c.show();
|
||||||
|
}
|
||||||
|
updateStripes();
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleInherit(id)
|
||||||
|
{
|
||||||
|
var rows = $('tr.inherit.'+id);
|
||||||
|
var img = $('tr.inherit_header.'+id+' img');
|
||||||
|
var src = $(img).attr('src');
|
||||||
|
if (rows.filter(':first').is(':visible')===true) {
|
||||||
|
rows.css('display','none');
|
||||||
|
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||||
|
} else {
|
||||||
|
rows.css('display','table-row'); // using show() causes jump in firefox
|
||||||
|
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
75
doc/html/files.html
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: File List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">File List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all files with brief descriptions:</div><div class="directory">
|
||||||
|
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img id="arr_0_" src="ftv2mlastnode.png" alt="\" width="16" height="22" onclick="toggleFolder('0_')"/><img id="img_0_" src="ftv2folderopen.png" alt="-" width="24" height="22" onclick="toggleFolder('0_')"/><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html" target="_self">json-c-0.15</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_0_"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="arraylist_8h.html" target="_self">arraylist.h</a></td><td class="desc">Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object_get_array()</a> method, it is not recommended for direct use</td></tr>
|
||||||
|
<tr id="row_0_1_" class="even"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json_8h.html" target="_self">json.h</a></td><td class="desc">A convenience header that may be included instead of other individual ones</td></tr>
|
||||||
|
<tr id="row_0_2_"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__c__version_8h.html" target="_self">json_c_version.h</a></td><td class="desc">Methods for retrieving the json-c version</td></tr>
|
||||||
|
<tr id="row_0_3_" class="even"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__inttypes_8h.html" target="_self">json_inttypes.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</td></tr>
|
||||||
|
<tr id="row_0_4_"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__object_8h.html" target="_self">json_object.h</a></td><td class="desc">Core json-c API. Start here, or with <a class="el" href="json__tokener_8h.html" title="Methods to parse an input string into a tree of json_object objects.">json_tokener.h</a></td></tr>
|
||||||
|
<tr id="row_0_5_" class="even"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__object__iterator_8h.html" target="_self">json_object_iterator.h</a></td><td class="desc">An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a></td></tr>
|
||||||
|
<tr id="row_0_6_"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__pointer_8h.html" target="_self">json_pointer.h</a></td><td class="desc">JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree</td></tr>
|
||||||
|
<tr id="row_0_7_" class="even"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__tokener_8h.html" target="_self">json_tokener.h</a></td><td class="desc">Methods to parse an input string into a tree of json_object objects</td></tr>
|
||||||
|
<tr id="row_0_8_"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__types_8h.html" target="_self">json_types.h</a></td><td class="desc">Basic types used in a few places in json-c, but you should include "json_object.h" instead</td></tr>
|
||||||
|
<tr id="row_0_9_" class="even"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__util_8h.html" target="_self">json_util.h</a></td><td class="desc">Miscllaneous utility functions and macros</td></tr>
|
||||||
|
<tr id="row_0_10_"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="json__visit_8h.html" target="_self">json_visit.h</a></td><td class="desc">Methods for walking a tree of objects</td></tr>
|
||||||
|
<tr id="row_0_11_" class="even"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="linkhash_8h.html" target="_self">linkhash.h</a></td><td class="desc">Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use</td></tr>
|
||||||
|
<tr id="row_0_12_"><td class="entry"><img src="ftv2blank.png" alt=" " width="16" height="22" /><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="printbuf_8h.html" target="_self">printbuf.h</a></td><td class="desc">Internal string buffer handing. Unless you're writing a json_object_to_json_string_fn implementation for use with <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object_set_serializer()</a> direct use of this is not recommended</td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/ftv2blank.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
doc/html/ftv2cl.png
Normal file
|
After Width: | Height: | Size: 453 B |
BIN
doc/html/ftv2doc.png
Normal file
|
After Width: | Height: | Size: 746 B |
BIN
doc/html/ftv2folderclosed.png
Normal file
|
After Width: | Height: | Size: 616 B |
BIN
doc/html/ftv2folderopen.png
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
doc/html/ftv2lastnode.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
doc/html/ftv2link.png
Normal file
|
After Width: | Height: | Size: 746 B |
BIN
doc/html/ftv2mlastnode.png
Normal file
|
After Width: | Height: | Size: 246 B |
BIN
doc/html/ftv2mnode.png
Normal file
|
After Width: | Height: | Size: 246 B |
BIN
doc/html/ftv2mo.png
Normal file
|
After Width: | Height: | Size: 403 B |
BIN
doc/html/ftv2node.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
doc/html/ftv2ns.png
Normal file
|
After Width: | Height: | Size: 388 B |
BIN
doc/html/ftv2plastnode.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
doc/html/ftv2pnode.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
doc/html/ftv2splitbar.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
doc/html/ftv2vertline.png
Normal file
|
After Width: | Height: | Size: 86 B |
275
doc/html/functions.html
Normal file
@@ -0,0 +1,275 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Fields</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="functions.html"><span>All</span></a></li>
|
||||||
|
<li><a href="functions_vars.html"><span>Variables</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_b"><span>b</span></a></li>
|
||||||
|
<li><a href="#index_c"><span>c</span></a></li>
|
||||||
|
<li><a href="#index_d"><span>d</span></a></li>
|
||||||
|
<li><a href="#index_e"><span>e</span></a></li>
|
||||||
|
<li><a href="#index_f"><span>f</span></a></li>
|
||||||
|
<li><a href="#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="#index_k"><span>k</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="#index_o"><span>o</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_q"><span>q</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="#index_t"><span>t</span></a></li>
|
||||||
|
<li><a href="#index_u"><span>u</span></a></li>
|
||||||
|
<li><a href="#index_v"><span>v</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all struct and union fields with links to the structures/unions they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array
|
||||||
|
: <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
|
||||||
|
<li>bpos
|
||||||
|
: <a class="el" href="structprintbuf.html#aba980ad7406329e32f557dfa0eb7b1b2">printbuf</a>
|
||||||
|
</li>
|
||||||
|
<li>buf
|
||||||
|
: <a class="el" href="structprintbuf.html#a5d7cf8ac260f1f7c50fecaf9bd7bc651">printbuf</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||||
|
<li>char_offset
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>count
|
||||||
|
: <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>current
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a466f192f920368a5a6375aeba1e2757f">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||||
|
<li>depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
|
||||||
|
<li>entry
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a64e326f050826c644c02ed5bcd214faa">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
<li>equal_fn
|
||||||
|
: <a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>err
|
||||||
|
: <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
|
||||||
|
<li>flags
|
||||||
|
: <a class="el" href="structjson__tokener.html#aabfdcf2825154108669ffa3f4ab9c4ea">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>free_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">lh_table</a>
|
||||||
|
, <a class="el" href="structarray__list.html#ab7989cdde357e5c7819c562c7680ab74">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||||
|
<li>hash_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>head
|
||||||
|
: <a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>high_surrogate
|
||||||
|
: <a class="el" href="structjson__tokener.html#a7432d9136ff5e5ceff0d02b1c3e28c18">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
|
||||||
|
<li>is_double
|
||||||
|
: <a class="el" href="structjson__tokener.html#ad3bf0aa728ea14549d5aa6ca8dcba070">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_k"></a>- k -</h3><ul>
|
||||||
|
<li>k
|
||||||
|
: <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>k_is_constant
|
||||||
|
: <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>key
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a0b76228b3a039075e9d84f88fa72ff53">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>length
|
||||||
|
: <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>max_depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9d9b33c3982925349627dc6a3edca940">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
|
||||||
|
<li>next
|
||||||
|
: <a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
|
||||||
|
<li>obj
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>obj_field_name
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a99551c172e97ac2e7a3849a50b4f51ca">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>opaque_
|
||||||
|
: <a class="el" href="structjson__object__iterator.html#a69c61c14f5a36b1dc2217e49cd987f47">json_object_iterator</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>pb
|
||||||
|
: <a class="el" href="structjson__tokener.html#a1cdc7f85d7bde95f81bb08b7e61d6684">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>prev
|
||||||
|
: <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_q"></a>- q -</h3><ul>
|
||||||
|
<li>quote_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#aea488b73085ac7c5969ae7fc29e25fa0">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>saved_state
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a868b9912dbb1e4813a630c944f522d48">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>size
|
||||||
|
: <a class="el" href="structarray__list.html#a11b92f48ed715b187f8609351405342f">array_list</a>
|
||||||
|
, <a class="el" href="structprintbuf.html#a12ce6440eaa06a55b96ebdc5a9778dd5">printbuf</a>
|
||||||
|
, <a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>st_pos
|
||||||
|
: <a class="el" href="structjson__tokener.html#a8eed213c0a37d09c1df66c8567e44471">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>stack
|
||||||
|
: <a class="el" href="structjson__tokener.html#a3521d62906eb0e15d07d7b4f64a5fac3">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>str
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>table
|
||||||
|
: <a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>tail
|
||||||
|
: <a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">lh_table</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_u"></a>- u -</h3><ul>
|
||||||
|
<li>ucs_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#a32fa73e43fb760e6845231a8482eb064">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
|
||||||
|
<li>v
|
||||||
|
: <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>val
|
||||||
|
: <a class="el" href="structjson__object__iter.html#aaae14a8d17aacddacb0a57234e0a4491">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
275
doc/html/functions_vars.html
Normal file
@@ -0,0 +1,275 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Data Fields - Variables</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="functions.html"><span>All</span></a></li>
|
||||||
|
<li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_b"><span>b</span></a></li>
|
||||||
|
<li><a href="#index_c"><span>c</span></a></li>
|
||||||
|
<li><a href="#index_d"><span>d</span></a></li>
|
||||||
|
<li><a href="#index_e"><span>e</span></a></li>
|
||||||
|
<li><a href="#index_f"><span>f</span></a></li>
|
||||||
|
<li><a href="#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="#index_i"><span>i</span></a></li>
|
||||||
|
<li><a href="#index_k"><span>k</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_n"><span>n</span></a></li>
|
||||||
|
<li><a href="#index_o"><span>o</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_q"><span>q</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="#index_t"><span>t</span></a></li>
|
||||||
|
<li><a href="#index_u"><span>u</span></a></li>
|
||||||
|
<li><a href="#index_v"><span>v</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array
|
||||||
|
: <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
|
||||||
|
<li>bpos
|
||||||
|
: <a class="el" href="structprintbuf.html#aba980ad7406329e32f557dfa0eb7b1b2">printbuf</a>
|
||||||
|
</li>
|
||||||
|
<li>buf
|
||||||
|
: <a class="el" href="structprintbuf.html#a5d7cf8ac260f1f7c50fecaf9bd7bc651">printbuf</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||||
|
<li>char_offset
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>count
|
||||||
|
: <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>current
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a466f192f920368a5a6375aeba1e2757f">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||||
|
<li>depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
|
||||||
|
<li>entry
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a64e326f050826c644c02ed5bcd214faa">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
<li>equal_fn
|
||||||
|
: <a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>err
|
||||||
|
: <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
|
||||||
|
<li>flags
|
||||||
|
: <a class="el" href="structjson__tokener.html#aabfdcf2825154108669ffa3f4ab9c4ea">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>free_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">lh_table</a>
|
||||||
|
, <a class="el" href="structarray__list.html#ab7989cdde357e5c7819c562c7680ab74">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||||
|
<li>hash_fn
|
||||||
|
: <a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>head
|
||||||
|
: <a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>high_surrogate
|
||||||
|
: <a class="el" href="structjson__tokener.html#a7432d9136ff5e5ceff0d02b1c3e28c18">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
|
||||||
|
<li>is_double
|
||||||
|
: <a class="el" href="structjson__tokener.html#ad3bf0aa728ea14549d5aa6ca8dcba070">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_k"></a>- k -</h3><ul>
|
||||||
|
<li>k
|
||||||
|
: <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>k_is_constant
|
||||||
|
: <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>key
|
||||||
|
: <a class="el" href="structjson__object__iter.html#a0b76228b3a039075e9d84f88fa72ff53">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>length
|
||||||
|
: <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>max_depth
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9d9b33c3982925349627dc6a3edca940">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
|
||||||
|
<li>next
|
||||||
|
: <a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
|
||||||
|
<li>obj
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>obj_field_name
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a99551c172e97ac2e7a3849a50b4f51ca">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>opaque_
|
||||||
|
: <a class="el" href="structjson__object__iterator.html#a69c61c14f5a36b1dc2217e49cd987f47">json_object_iterator</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>pb
|
||||||
|
: <a class="el" href="structjson__tokener.html#a1cdc7f85d7bde95f81bb08b7e61d6684">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>prev
|
||||||
|
: <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_q"></a>- q -</h3><ul>
|
||||||
|
<li>quote_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#aea488b73085ac7c5969ae7fc29e25fa0">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>saved_state
|
||||||
|
: <a class="el" href="structjson__tokener__srec.html#a868b9912dbb1e4813a630c944f522d48">json_tokener_srec</a>
|
||||||
|
</li>
|
||||||
|
<li>size
|
||||||
|
: <a class="el" href="structarray__list.html#a11b92f48ed715b187f8609351405342f">array_list</a>
|
||||||
|
, <a class="el" href="structprintbuf.html#a12ce6440eaa06a55b96ebdc5a9778dd5">printbuf</a>
|
||||||
|
, <a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>st_pos
|
||||||
|
: <a class="el" href="structjson__tokener.html#a8eed213c0a37d09c1df66c8567e44471">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>stack
|
||||||
|
: <a class="el" href="structjson__tokener.html#a3521d62906eb0e15d07d7b4f64a5fac3">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
<li>str
|
||||||
|
: <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>table
|
||||||
|
: <a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">lh_table</a>
|
||||||
|
</li>
|
||||||
|
<li>tail
|
||||||
|
: <a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">lh_table</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_u"></a>- u -</h3><ul>
|
||||||
|
<li>ucs_char
|
||||||
|
: <a class="el" href="structjson__tokener.html#a32fa73e43fb760e6845231a8482eb064">json_tokener</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
|
||||||
|
<li>v
|
||||||
|
: <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry</a>
|
||||||
|
</li>
|
||||||
|
<li>val
|
||||||
|
: <a class="el" href="structjson__object__iter.html#aaae14a8d17aacddacb0a57234e0a4491">json_object_iter</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
119
doc/html/globals.html
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array_list
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_add()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_bsearch()
|
||||||
|
: <a class="el" href="arraylist_8h.html#ac5d066b971fee72ce80084c1694109e3">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>ARRAY_LIST_DEFAULT_SIZE
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_del_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free()
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free_fn
|
||||||
|
: <a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_get_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a114f1af5b20b76a3dbb2d1d055006df8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_length()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_new()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a0d4bfac055dfd98e17296142abf4d894">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_new2()
|
||||||
|
: <a class="el" href="arraylist_8h.html#ae3e43dc68f5d1815f3aaa36916602e45">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_put_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_shrink()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_sort()
|
||||||
|
: <a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
658
doc/html/globals_0x6a.html
Normal file
@@ -0,0 +1,658 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index_a"><span>a</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>json_bool
|
||||||
|
: <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_CONST_FUNCTION
|
||||||
|
: <a class="el" href="json__object_8h.html#a878f59e029f19db79ff9eb41fdcf4c6d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MAJOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MICRO_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MINOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_ADD_KEY_IS_NEW
|
||||||
|
: <a class="el" href="json__object_8h.html#a8cd01c484155ac99043a35b7c85ae411">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_KEY_IS_CONSTANT
|
||||||
|
: <a class="el" href="json__object_8h.html#a134ffafc6116799a20134dc7646b5a37">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_GLOBAL
|
||||||
|
: <a class="el" href="json__object_8h.html#a45837b8c6564f9e605f8a2bc76243750">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_THREAD
|
||||||
|
: <a class="el" href="json__object_8h.html#a50d1490598fe476d7a53e204e02cdc9d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_set_serialization_double_format()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac099272b46fde595831118720b155656">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_shallow_copy_default
|
||||||
|
: <a class="el" href="json__object_8h.html#a86ea08e75ddf054742bf806a3bc3f983">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_shallow_copy_fn
|
||||||
|
: <a class="el" href="json__object_8h.html#af4562514916f62ea56adf752ada10b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_DFLT
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_PERLLIKE
|
||||||
|
: <a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOSLASHESCAPE
|
||||||
|
: <a class="el" href="json__object_8h.html#a5c11d72c55f3ab7c088f19e7bf118163">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOZERO
|
||||||
|
: <a class="el" href="json__object_8h.html#a34f027c147babf69fc530d088f2b49b0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PLAIN
|
||||||
|
: <a class="el" href="json__object_8h.html#a3294cb92765cdeb497cfd346644d1059">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY
|
||||||
|
: <a class="el" href="json__object_8h.html#a2025bc677c35f130e117dfda5bf1ef73">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY_TAB
|
||||||
|
: <a class="el" href="json__object_8h.html#afc1486af21f6b1653c6f523025bdfd3b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_SPACED
|
||||||
|
: <a class="el" href="json__object_8h.html#aa821746c8668e6ad62bed90ec9e00103">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a1c42f6f71943775e2696c47951989711">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version_num()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION_NUM
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit()
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_CONTINUE
|
||||||
|
: <a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_ERROR
|
||||||
|
: <a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_POP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_SKIP
|
||||||
|
: <a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_STOP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_SECOND
|
||||||
|
: <a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit_userfunc
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_EXPORT
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_c_version.h</a>
|
||||||
|
, <a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_types.h</a>
|
||||||
|
, <a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_FILE_BUF_SIZE
|
||||||
|
: <a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_global_set_string_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_max
|
||||||
|
: <a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_min
|
||||||
|
: <a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object
|
||||||
|
: <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_bsearch()
|
||||||
|
: <a class="el" href="json__object_8h.html#aed353084ed3ad84e7b7575afbe7e719d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_del_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_get_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a676711a76545d4ec65cc75f100f5fd19">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab9ea8f9c72d5adf83fdcbfe69f97fa44">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_put_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_shrink()
|
||||||
|
: <a class="el" href="json__object_8h.html#a95552402a95c9470b230052d92270247">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_sort()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5584e2f2051cd1faa7fafd07ba888fd1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_deep_copy()
|
||||||
|
: <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_OBJECT_DEF_HASH_ENTRIES
|
||||||
|
: <a class="el" href="json__object_8h.html#a268a63dd1b2e6d81559e268a4529e9bf">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_delete_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_double_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ada262c62364e3819b6a64b1e3a632336">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_equal()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5a1d4640525e0217059868e312f20579">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_free_userdata
|
||||||
|
: <a class="el" href="json__object_8h.html#aff3190c34884bea3b4e65e286b973d89">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#a5b72bf6f3ac8fb03da38d2e2d1e18d1b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd_ex()
|
||||||
|
: <a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a03119ec0a71af4eee95318e9b2aaf05b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8c56dc58a02f92cd6789ba5dcb9fe7b1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a14750b3af4df18ec8dc93b090a8e8a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9ee29ca8d79896e15007131527f6002e">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac1d1f95a27a5e5d93bb66a8adfc1a2f4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a82c27579b6d25d9d0eb3b72758d8b71d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae925f3ec0f61cba5ea3dd50e0315f194">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_inc()
|
||||||
|
: <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_is_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter
|
||||||
|
: <a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_begin()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_end()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_equal()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_init_default()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_next()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_name()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_value()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ad8fe9251ca04af4d8e6840a44de7984b">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a84f7f8c0774c4600d958561d7548d649">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_array_ext()
|
||||||
|
: <a class="el" href="json__object_8h.html#a62af9fb3b02fb153190369d949394b26">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2e290acd80e72cca745f89fb4600fb78">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a594a093bafb9091f843da3197e0638aa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double_s()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae49671c026fe1ada370a75321e4e65f6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae92f0770fb4b3c884ce35de52d3d7de8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7847f74494645c2b076505c37cc4cb93">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_null()
|
||||||
|
: <a class="el" href="json__object_8h.html#a29e23b5be729c679960242b3b81bcde0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a68c383f54544fca19b5f2425be397600">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7b7b5302b3903c9347eeb1f4a64d657b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#a778a1aa34a508d08daac3bdb83e24b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#aa602ee5f6182b35f3f75a927320b4efd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a57d3e444dd7db6b4510d21bf3716a002">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_del()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreach
|
||||||
|
: <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreachC
|
||||||
|
: <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a097805abb53b4c8a60d573730a8939">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a90d5f16d58636f01d2ed1a6030c7366a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ad59a0ad2ec914a5eef90af53acae06d9">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_put()
|
||||||
|
: <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23863c1503f3a8dd8a460a6405da0a65">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a3a7b7ce585565558cb69dad8d45d7757">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ab3568f12e01fd2967e765a72456caa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7d3948600dde732abed0e261264ef53a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_serializer()
|
||||||
|
: <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac35013e51cdc0651512801c947df431c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae48707a0c8689e14aaa3a9b831db27fc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9900aa9a425e6f14e295b298460b65d4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ee4281ccd123c62878e931a0a3bc43b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file_ext()
|
||||||
|
: <a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab7390c22baa1700d977c2af6b22d43a4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_ext()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9db613127bd4ef7db42307e43a85fc1b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#add3770a3ba3d01a8f9adedfcd6bd8dbb">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_userdata_to_json_string
|
||||||
|
: <a class="el" href="json__object_8h.html#a56091ddbd2ec6d6200558cbeff1b86b8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_double()
|
||||||
|
: <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_int64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_uint64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_get()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_getf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_set()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_setf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_ALLOW_TRAILING_CHARS
|
||||||
|
: <a class="el" href="json__tokener_8h.html#aa74428c9cf57655eea5b49feae3f2704">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_continue
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_DEFAULT_DEPTH
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_depth
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_desc()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_eof
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_name
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_value_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_unexpected
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_utf8_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_size
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_free()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_error()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_parse_end()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_verbose()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a735f2dc755d57ed5c5b807aaaaef3b14">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_reset()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_set_flags()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_eol
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_eatws
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode_need_escape
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode_need_u
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_finish
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_inf
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string_escape
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_STRICT
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_success
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_VALIDATE_UTF8
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_array
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_boolean
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_double
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_int
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_null
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_object
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_string
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_to_name()
|
||||||
|
: <a class="el" href="json__util_8h.html#a762aaf3df0a9c7b6919cdc1035348012">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_util_get_last_err()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
152
doc/html/globals_0x6c.html
Normal file
@@ -0,0 +1,152 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>LH_EMPTY
|
||||||
|
: <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_free_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_k
|
||||||
|
: <a class="el" href="linkhash_8h.html#a7579ce28b8366fc9b8656f14270aa3aa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_v
|
||||||
|
: <a class="el" href="linkhash_8h.html#a0d4052ccfd8c5d351a9c1d3ba07671b3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_equal_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach_safe
|
||||||
|
: <a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_FREED
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_hash_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_kchar_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a6bf630754affe92612639542a6c49c3f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_kptr_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#af8108563b961dbf5471fe2c0e51f40a5">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_LOAD_FACTOR
|
||||||
|
: <a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_PRIME
|
||||||
|
: <a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table
|
||||||
|
: <a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_free()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_length()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad3b6ca2d967a6c3021ee6c39e014a918">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a59ecaf34ef59280952f4459b2de63677">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_ex()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a9c4f8a71dbe4d3390d9f7adb331beb0e">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_resize()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
110
doc/html/globals_0x70.html
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>PRId64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf
|
||||||
|
: <a class="el" href="printbuf_8h.html#ace274df280df67463ff417b1b3392395">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_free()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2b744266191ef5e3102fbf910e790a98">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_length
|
||||||
|
: <a class="el" href="printbuf_8h.html#acdd84ad88987c0166b7ba0e3f1f8f1bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend_fast
|
||||||
|
: <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_new()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a645670fa132f0ae9a75f43c0b464bdaf">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_reset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a705c62167df13e65e04de9ae60f6e136">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_strappend
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>PRIu64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
83
doc/html/globals_0x73.html
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="globals_0x6a.html#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="globals_0x6c.html#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="globals_0x70.html#index_p"><span>p</span></a></li>
|
||||||
|
<li class="current"><a href="globals_0x73.html#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>SCNd64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
<li>sprintbuf()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
245
doc/html/globals_defs.html
Normal file
@@ -0,0 +1,245 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li class="current"><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>ARRAY_LIST_DEFAULT_SIZE
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>JSON_C_CONST_FUNCTION
|
||||||
|
: <a class="el" href="json__object_8h.html#a878f59e029f19db79ff9eb41fdcf4c6d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MAJOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MICRO_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_MINOR_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_ADD_KEY_IS_NEW
|
||||||
|
: <a class="el" href="json__object_8h.html#a8cd01c484155ac99043a35b7c85ae411">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OBJECT_KEY_IS_CONSTANT
|
||||||
|
: <a class="el" href="json__object_8h.html#a134ffafc6116799a20134dc7646b5a37">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_GLOBAL
|
||||||
|
: <a class="el" href="json__object_8h.html#a45837b8c6564f9e605f8a2bc76243750">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_OPTION_THREAD
|
||||||
|
: <a class="el" href="json__object_8h.html#a50d1490598fe476d7a53e204e02cdc9d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_DFLT
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_STR_HASH_PERLLIKE
|
||||||
|
: <a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOSLASHESCAPE
|
||||||
|
: <a class="el" href="json__object_8h.html#a5c11d72c55f3ab7c088f19e7bf118163">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_NOZERO
|
||||||
|
: <a class="el" href="json__object_8h.html#a34f027c147babf69fc530d088f2b49b0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PLAIN
|
||||||
|
: <a class="el" href="json__object_8h.html#a3294cb92765cdeb497cfd346644d1059">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY
|
||||||
|
: <a class="el" href="json__object_8h.html#a2025bc677c35f130e117dfda5bf1ef73">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_PRETTY_TAB
|
||||||
|
: <a class="el" href="json__object_8h.html#afc1486af21f6b1653c6f523025bdfd3b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_TO_STRING_SPACED
|
||||||
|
: <a class="el" href="json__object_8h.html#aa821746c8668e6ad62bed90ec9e00103">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VERSION_NUM
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_CONTINUE
|
||||||
|
: <a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_ERROR
|
||||||
|
: <a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_POP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_SKIP
|
||||||
|
: <a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_RETURN_STOP
|
||||||
|
: <a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_C_VISIT_SECOND
|
||||||
|
: <a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_EXPORT
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">printbuf.h</a>
|
||||||
|
, <a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_types.h</a>
|
||||||
|
, <a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_FILE_BUF_SIZE
|
||||||
|
: <a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_max
|
||||||
|
: <a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_min
|
||||||
|
: <a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_OBJECT_DEF_HASH_ENTRIES
|
||||||
|
: <a class="el" href="json__object_8h.html#a268a63dd1b2e6d81559e268a4529e9bf">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreach
|
||||||
|
: <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_foreachC
|
||||||
|
: <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_ALLOW_TRAILING_CHARS
|
||||||
|
: <a class="el" href="json__tokener_8h.html#aa74428c9cf57655eea5b49feae3f2704">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_DEFAULT_DEPTH
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_STRICT
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>JSON_TOKENER_VALIDATE_UTF8
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>LH_EMPTY
|
||||||
|
: <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_k
|
||||||
|
: <a class="el" href="linkhash_8h.html#a7579ce28b8366fc9b8656f14270aa3aa">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_v
|
||||||
|
: <a class="el" href="linkhash_8h.html#a0d4052ccfd8c5d351a9c1d3ba07671b3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_foreach_safe
|
||||||
|
: <a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_FREED
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_LOAD_FACTOR
|
||||||
|
: <a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>LH_PRIME
|
||||||
|
: <a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>PRId64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_length
|
||||||
|
: <a class="el" href="printbuf_8h.html#acdd84ad88987c0166b7ba0e3f1f8f1bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend_fast
|
||||||
|
: <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_strappend
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>PRIu64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>SCNd64
|
||||||
|
: <a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">json_inttypes.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
75
doc/html/globals_enum.html
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li class="current"><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 <ul>
|
||||||
|
<li>json_tokener_error
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
223
doc/html/globals_eval.html
Normal file
@@ -0,0 +1,223 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li class="current"><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_j"><span>j</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>json_tokener_continue
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_depth
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_eof
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_name
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_key_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_object_value_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_unexpected
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_parse_utf8_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_size
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_array_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_boolean
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_eol
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_comment_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_eatws
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode_need_escape
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_escape_unicode_need_u
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_finish
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_inf
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_null
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_number
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_end
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_field_start_after_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_sep
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_object_value_add
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_start
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_state_string_escape
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_success
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_array
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_boolean
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_double
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_int
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_null
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_object
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_string
|
||||||
|
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
468
doc/html/globals_func.html
Normal file
@@ -0,0 +1,468 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li class="current"><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_j"><span>j</span></a></li>
|
||||||
|
<li><a href="#index_l"><span>l</span></a></li>
|
||||||
|
<li><a href="#index_p"><span>p</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>array_list_add()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_bsearch()
|
||||||
|
: <a class="el" href="arraylist_8h.html#ac5d066b971fee72ce80084c1694109e3">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_del_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free()
|
||||||
|
: <a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_get_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a114f1af5b20b76a3dbb2d1d055006df8">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_length()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_new()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a0d4bfac055dfd98e17296142abf4d894">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_new2()
|
||||||
|
: <a class="el" href="arraylist_8h.html#ae3e43dc68f5d1815f3aaa36916602e45">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_put_idx()
|
||||||
|
: <a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_shrink()
|
||||||
|
: <a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_sort()
|
||||||
|
: <a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||||
|
<li>JSON_C_CONST_FUNCTION()
|
||||||
|
: <a class="el" href="json__object_8h.html#a922b2d76c73da57174beec82d471743b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_set_serialization_double_format()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac099272b46fde595831118720b155656">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a1c42f6f71943775e2696c47951989711">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_version_num()
|
||||||
|
: <a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit()
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_global_set_string_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_bsearch()
|
||||||
|
: <a class="el" href="json__object_8h.html#aed353084ed3ad84e7b7575afbe7e719d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_del_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_get_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a676711a76545d4ec65cc75f100f5fd19">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab9ea8f9c72d5adf83fdcbfe69f97fa44">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_put_idx()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_shrink()
|
||||||
|
: <a class="el" href="json__object_8h.html#a95552402a95c9470b230052d92270247">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_array_sort()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5584e2f2051cd1faa7fafd07ba888fd1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_deep_copy()
|
||||||
|
: <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_double_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ada262c62364e3819b6a64b1e3a632336">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_equal()
|
||||||
|
: <a class="el" href="json__object_8h.html#a5a1d4640525e0217059868e312f20579">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#a5b72bf6f3ac8fb03da38d2e2d1e18d1b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_fd_ex()
|
||||||
|
: <a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_from_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a03119ec0a71af4eee95318e9b2aaf05b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23d20e3f886c1638a7116be66b7b5ec2">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8c56dc58a02f92cd6789ba5dcb9fe7b1">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a14750b3af4df18ec8dc93b090a8e8a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9ee29ca8d79896e15007131527f6002e">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac1d1f95a27a5e5d93bb66a8adfc1a2f4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a82c27579b6d25d9d0eb3b72758d8b71d">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_get_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae925f3ec0f61cba5ea3dd50e0315f194">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_int_inc()
|
||||||
|
: <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_is_type()
|
||||||
|
: <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_begin()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_end()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_equal()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_init_default()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_next()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_name()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter_peek_value()
|
||||||
|
: <a class="el" href="json__object__iterator_8h.html#ad8fe9251ca04af4d8e6840a44de7984b">json_object_iterator.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_array()
|
||||||
|
: <a class="el" href="json__object_8h.html#a84f7f8c0774c4600d958561d7548d649">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_array_ext()
|
||||||
|
: <a class="el" href="json__object_8h.html#a62af9fb3b02fb153190369d949394b26">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a2e290acd80e72cca745f89fb4600fb78">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a594a093bafb9091f843da3197e0638aa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_double_s()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae49671c026fe1ada370a75321e4e65f6">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae92f0770fb4b3c884ce35de52d3d7de8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7847f74494645c2b076505c37cc4cb93">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_null()
|
||||||
|
: <a class="el" href="json__object_8h.html#a29e23b5be729c679960242b3b81bcde0">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_object()
|
||||||
|
: <a class="el" href="json__object_8h.html#a68c383f54544fca19b5f2425be397600">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7b7b5302b3903c9347eeb1f4a64d657b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#a778a1aa34a508d08daac3bdb83e24b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_new_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#aa602ee5f6182b35f3f75a927320b4efd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add()
|
||||||
|
: <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_add_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a57d3e444dd7db6b4510d21bf3716a002">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_del()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get()
|
||||||
|
: <a class="el" href="json__object_8h.html#a1a097805abb53b4c8a60d573730a8939">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_get_ex()
|
||||||
|
: <a class="el" href="json__object_8h.html#a90d5f16d58636f01d2ed1a6030c7366a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_object_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#ad59a0ad2ec914a5eef90af53acae06d9">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_put()
|
||||||
|
: <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_boolean()
|
||||||
|
: <a class="el" href="json__object_8h.html#a23863c1503f3a8dd8a460a6405da0a65">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_double()
|
||||||
|
: <a class="el" href="json__object_8h.html#a3a7b7ce585565558cb69dad8d45d7757">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ab3568f12e01fd2967e765a72456caa">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_int64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a7d3948600dde732abed0e261264ef53a">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_serializer()
|
||||||
|
: <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ac35013e51cdc0651512801c947df431c">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_string_len()
|
||||||
|
: <a class="el" href="json__object_8h.html#ae48707a0c8689e14aaa3a9b831db27fc">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_uint64()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9900aa9a425e6f14e295b298460b65d4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_set_userdata()
|
||||||
|
: <a class="el" href="json__object_8h.html#a4ee4281ccd123c62878e931a0a3bc43b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_fd()
|
||||||
|
: <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file()
|
||||||
|
: <a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_file_ext()
|
||||||
|
: <a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string()
|
||||||
|
: <a class="el" href="json__object_8h.html#ab7390c22baa1700d977c2af6b22d43a4">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_ext()
|
||||||
|
: <a class="el" href="json__object_8h.html#a9db613127bd4ef7db42307e43a85fc1b">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_length()
|
||||||
|
: <a class="el" href="json__object_8h.html#add3770a3ba3d01a8f9adedfcd6bd8dbb">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_double()
|
||||||
|
: <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_int64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_parse_uint64()
|
||||||
|
: <a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_get()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_getf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_set()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_pointer_setf()
|
||||||
|
: <a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_error_desc()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_free()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_error()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_get_parse_end()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_new_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_ex()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_parse_verbose()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a735f2dc755d57ed5c5b807aaaaef3b14">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_reset()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener_set_flags()
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type_to_name()
|
||||||
|
: <a class="el" href="json__util_8h.html#a762aaf3df0a9c7b6919cdc1035348012">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_util_get_last_err()
|
||||||
|
: <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||||
|
<li>lh_kchar_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a6bf630754affe92612639542a6c49c3f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_kptr_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#af8108563b961dbf5471fe2c0e51f40a5">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_delete_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_free()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_insert_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_length()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry()
|
||||||
|
: <a class="el" href="linkhash_8h.html#ad3b6ca2d967a6c3021ee6c39e014a918">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_entry_w_hash()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a59ecaf34ef59280952f4459b2de63677">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_lookup_ex()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_new()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a9c4f8a71dbe4d3390d9f7adb331beb0e">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table_resize()
|
||||||
|
: <a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
|
||||||
|
<li>printbuf_free()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a2b744266191ef5e3102fbf910e790a98">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memappend()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_memset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_new()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a645670fa132f0ae9a75f43c0b464bdaf">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf_reset()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a705c62167df13e65e04de9ae60f6e136">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>sprintbuf()
|
||||||
|
: <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
114
doc/html/globals_type.html
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li class="current"><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 <ul>
|
||||||
|
<li>array_list
|
||||||
|
: <a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>array_list_free_fn
|
||||||
|
: <a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">arraylist.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_bool
|
||||||
|
: <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_shallow_copy_fn
|
||||||
|
: <a class="el" href="json__object_8h.html#af4562514916f62ea56adf752ada10b52">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_c_visit_userfunc
|
||||||
|
: <a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_visit.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object
|
||||||
|
: <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_delete_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_iter
|
||||||
|
: <a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_to_json_string_fn
|
||||||
|
: <a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_tokener
|
||||||
|
: <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_type
|
||||||
|
: <a class="el" href="json__types_8h.html#aba5eff84f8638d22f50403175f270c96">json_types.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_entry_free_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_equal_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_hash_fn
|
||||||
|
: <a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>lh_table
|
||||||
|
: <a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">linkhash.h</a>
|
||||||
|
</li>
|
||||||
|
<li>printbuf
|
||||||
|
: <a class="el" href="printbuf_8h.html#ace274df280df67463ff417b1b3392395">printbuf.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
75
doc/html/globals_vars.html
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Globals</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="globals.html"><span>All</span></a></li>
|
||||||
|
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||||
|
<li class="current"><a href="globals_vars.html"><span>Variables</span></a></li>
|
||||||
|
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
|
||||||
|
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
<li><a href="globals_defs.html"><span>Macros</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 <ul>
|
||||||
|
<li>json_c_shallow_copy_default
|
||||||
|
: <a class="el" href="json__object_8h.html#a86ea08e75ddf054742bf806a3bc3f983">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_free_userdata
|
||||||
|
: <a class="el" href="json__object_8h.html#aff3190c34884bea3b4e65e286b973d89">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
<li>json_object_userdata_to_json_string
|
||||||
|
: <a class="el" href="json__object_8h.html#a56091ddbd2ec6d6200558cbeff1b86b8">json_object.h</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
228
doc/html/index.html
Normal file
@@ -0,0 +1,228 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Main Page</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json-c Documentation</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><h1><code>json-c</code></h1>
|
||||||
|
<ol type="1">
|
||||||
|
<li><a href="#overview">Overview and Build Status</a></li>
|
||||||
|
<li><a href="#buildunix">Building on Unix</a><ul>
|
||||||
|
<li><a href="#installprereq">Prerequisites</a></li>
|
||||||
|
<li><a href="#buildcmds">Build commands</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#CMake">CMake options</a></li>
|
||||||
|
<li><a href="#testing">Testing</a></li>
|
||||||
|
<li><a href="#buildvcpkg">Building with `vcpkg`</a></li>
|
||||||
|
<li><a href="#linking">Linking to libjson-c</a></li>
|
||||||
|
<li><a href="#using">Using json-c</a></li>
|
||||||
|
</ol>
|
||||||
|
<h2>JSON-C - A JSON implementation in C <a class="anchor" id="overview"></a></h2>
|
||||||
|
<p>Build Status</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://ci.appveyor.com/project/hawicz/json-c">AppVeyor Build</a> <div class="image">
|
||||||
|
<img src="https://ci.appveyor.com/api/projects/status/github/json-c/json-c?branch=master&svg=true" alt="AppVeyor Build Status"/>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li><a href="https://travis-ci.org/json-c/json-c">Travis Build</a> <div class="image">
|
||||||
|
<img src="https://travis-ci.org/json-c/json-c.svg?branch=master" alt="Travis Build Status"/>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p>Test Status</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://coveralls.io/github/json-c/json-c?branch=master">Coveralls</a> <a href="https://coveralls.io/github/json-c/json-c?branch=master"></a></li>
|
||||||
|
</ul>
|
||||||
|
<p>JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects. It aims to conform to <a href="https://tools.ietf.org/html/rfc7159">RFC 7159</a>.</p>
|
||||||
|
<h2>Building on Unix with <code>git</code>, <code>gcc</code> and <code>cmake</code> <a class="anchor" id="buildunix"></a></h2>
|
||||||
|
<p>Home page for json-c: <a href="https://github.com/json-c/json-c/wiki">https://github.com/json-c/json-c/wiki</a></p>
|
||||||
|
<h3>Prerequisites: <a class="anchor" id="installprereq"></a></h3>
|
||||||
|
<ul>
|
||||||
|
<li><code>gcc</code>, <code>clang</code>, or another C compiler</li>
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
|
<li>cmake>=2.8, >=3.16 recommended</li>
|
||||||
|
</ul>
|
||||||
|
<p>To generate docs you'll also need:</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>doxygen>=1.8.13</code></li>
|
||||||
|
</ul>
|
||||||
|
<p>If you are on a relatively modern system, you'll likely be able to install the prerequisites using your OS's packaging system.</p>
|
||||||
|
<h3>Install using apt (e.g. Ubuntu 16.04.2 LTS)</h3>
|
||||||
|
<pre class="fragment">sudo apt install git
|
||||||
|
sudo apt install cmake
|
||||||
|
sudo apt install doxygen # optional
|
||||||
|
sudo apt install valgrind # optional
|
||||||
|
</pre><h3>Build instructions: <a class="anchor" id="buildcmds"></a></h3>
|
||||||
|
<p><code>json-c</code> GitHub repo: <a href="https://github.com/json-c/json-c">https://github.com/json-c/json-c</a> </p>
|
||||||
|
<pre class="fragment">$ git clone https://github.com/json-c/json-c.git
|
||||||
|
$ mkdir json-c-build
|
||||||
|
$ cd json-c-build
|
||||||
|
$ cmake ../json-c # See CMake section below for custom arguments
|
||||||
|
</pre><p>Note: it's also possible to put your build directory inside the json-c source directory, or even not use a separate build directory at all, but certain things might not work quite right (notably, <code>make distcheck</code>)</p>
|
||||||
|
<p>Then: </p>
|
||||||
|
<pre class="fragment">$ make
|
||||||
|
$ make test
|
||||||
|
$ make USE_VALGRIND=0 test # optionally skip using valgrind
|
||||||
|
$ make install
|
||||||
|
</pre><h3>Generating documentation with Doxygen:</h3>
|
||||||
|
<p>The libray documentation can be generated directly from the source codes using Doxygen tool: </p>
|
||||||
|
<pre class="fragment"># in build directory
|
||||||
|
make doc
|
||||||
|
google-chrome doc/html/index.html
|
||||||
|
</pre><h2>CMake Options <a class="anchor" id="CMake"></a></h2>
|
||||||
|
<p>The json-c library is built with <a href="https://cmake.org/cmake-tutorial/">CMake</a>, which can take a few options.</p>
|
||||||
|
<table class="doxtable">
|
||||||
|
<tr>
|
||||||
|
<th>Variable </th><th>Type </th><th>Description</th></tr>
|
||||||
|
<tr>
|
||||||
|
<td>CMAKE_INSTALL_PREFIX </td><td>String </td><td>The install location. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>CMAKE_BUILD_TYPE </td><td>String </td><td>Defaults to "debug". </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>BUILD_SHARED_LIBS </td><td>Bool </td><td>The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>BUILD_STATIC_LIBS </td><td>Bool </td><td>The default build generates a static (lib/a) library. Set this to OFF to create a shared library only. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>DISABLE_STATIC_FPIC </td><td>Bool </td><td>The default builds position independent code. Set this to OFF to create a shared library only. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>DISABLE_BSYMBOLIC </td><td>Bool </td><td>Disable use of -Bsymbolic-functions. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>DISABLE_THREAD_LOCAL_STORAGE </td><td>Bool </td><td>Disable use of Thread-Local Storage (HAVE___THREAD). </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>DISABLE_WERROR </td><td>Bool </td><td>Disable use of -Werror. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>ENABLE_RDRAND </td><td>Bool </td><td>Enable RDRAND Hardware RNG Hash Seed. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>ENABLE_THREADING </td><td>Bool </td><td>Enable partial threading support. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>OVERRIDE_GET_RANDOM_SEED </td><td>String </td><td>A block of code to use instead of the default implementation of json_c_get_random_seed(), e.g. on embedded platforms where not even the fallback to time() works. Must be a single line. </td></tr>
|
||||||
|
</table>
|
||||||
|
<p>Pass these options as <code>-D</code> on CMake's command-line. </p>
|
||||||
|
<pre class="fragment"># build a static library only
|
||||||
|
cmake -DBUILD_SHARED_LIBS=OFF ..
|
||||||
|
</pre><h3>Building with partial threading support</h3>
|
||||||
|
<p>Although json-c does not support fully multi-threaded access to object trees, it has some code to help make its use in threaded programs a bit safer. Currently, this is limited to using atomic operations for <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object_get()</a> and <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>.</p>
|
||||||
|
<p>Since this may have a performance impact, of at least 3x slower according to <a href="https://stackoverflow.com/a/11609063,">https://stackoverflow.com/a/11609063,</a> it is disabled by default. You may turn it on by adjusting your cmake command with: -DENABLE_THREADING=ON</p>
|
||||||
|
<p>Separately, the default hash function used for object field keys, lh_char_hash, uses a compare-and-swap operation to ensure the random 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.</p>
|
||||||
|
<h3>cmake-configure wrapper script</h3>
|
||||||
|
<p>For those familiar with the old autoconf/autogen.sh/configure method, there is a <code>cmake-configure</code> wrapper script to ease the transition to cmake. </p>
|
||||||
|
<pre class="fragment">mkdir build
|
||||||
|
cd build
|
||||||
|
../cmake-configure --prefix=/some/install/path
|
||||||
|
make
|
||||||
|
</pre><p>cmake-configure can take a few options.</p>
|
||||||
|
<table class="doxtable">
|
||||||
|
<tr>
|
||||||
|
<th>options </th><th>Description</th></tr>
|
||||||
|
<tr>
|
||||||
|
<td>prefix=PREFIX </td><td>install architecture-independent files in PREFIX </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-threading </td><td>Enable code to support partly multi-threaded use </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-rdrand </td><td>Enable RDRAND Hardware RNG Hash Seed generation on supported x86/x64 platforms. </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-shared </td><td>build shared libraries [default=yes] </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>enable-static </td><td>build static libraries [default=yes] </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>disable-Bsymbolic </td><td>Avoid linking with -Bsymbolic-function </td></tr>
|
||||||
|
<tr>
|
||||||
|
<td>disable-werror </td><td>Avoid treating compiler warnings as fatal errors </td></tr>
|
||||||
|
</table>
|
||||||
|
<h2>Testing: <a class="anchor" id="testing"></a></h2>
|
||||||
|
<p>By default, if valgrind is available running tests uses it. That can slow the tests down considerably, so to disable it use: </p>
|
||||||
|
<pre class="fragment">export USE_VALGRIND=0
|
||||||
|
</pre><p>To run tests a separate build directory is recommended: </p>
|
||||||
|
<pre class="fragment">mkdir build-test
|
||||||
|
cd build-test
|
||||||
|
# VALGRIND=1 causes -DVALGRIND=1 to be passed when compiling code
|
||||||
|
# which uses slightly slower, but valgrind-safe code.
|
||||||
|
VALGRIND=1 cmake ..
|
||||||
|
make
|
||||||
|
|
||||||
|
make test
|
||||||
|
# By default, if valgrind is available running tests uses it.
|
||||||
|
make USE_VALGRIND=0 test # optionally skip using valgrind
|
||||||
|
</pre><p>If a test fails, check <code>Testing/Temporary/LastTest.log</code>, <code>tests/testSubDir/${testname}/${testname}.vg.out</code>, and other similar files. If there is insufficient output try: </p>
|
||||||
|
<pre class="fragment">VERBOSE=1 make test
|
||||||
|
</pre><p>or </p>
|
||||||
|
<pre class="fragment">JSONC_TEST_TRACE=1 make test
|
||||||
|
</pre><p>and check the log files again.</p>
|
||||||
|
<h2>Building on Unix and Windows with <code>vcpkg</code> <a class="anchor" id="buildvcpkg"></a></h2>
|
||||||
|
<p>You can download and install JSON-C using the <a href="https://github.com/Microsoft/vcpkg/">vcpkg</a> dependency manager: </p>
|
||||||
|
<pre class="fragment">git clone https://github.com/Microsoft/vcpkg.git
|
||||||
|
cd vcpkg
|
||||||
|
./bootstrap-vcpkg.sh
|
||||||
|
./vcpkg integrate install
|
||||||
|
vcpkg install json-c
|
||||||
|
</pre><p>The JSON-C port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please <a href="https://github.com/Microsoft/vcpkg">create an issue or pull request</a> on the vcpkg repository.</p>
|
||||||
|
<h2>Linking to <code>libjson-c</code> <a class="anchor" id="linking"></a></h2>
|
||||||
|
<p>If your system has <code>pkgconfig</code>, then you can just add this to your <code>makefile</code>: </p>
|
||||||
|
<pre class="fragment">CFLAGS += $(shell pkg-config --cflags json-c)
|
||||||
|
LDFLAGS += $(shell pkg-config --libs json-c)
|
||||||
|
</pre><p>Without <code>pkgconfig</code>, you would do something like this: </p>
|
||||||
|
<pre class="fragment">JSON_C_DIR=/path/to/json_c/install
|
||||||
|
CFLAGS += -I$(JSON_C_DIR)/include/json-c
|
||||||
|
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
|
||||||
|
</pre><h2>Using json-c <a class="anchor" id="using"></a></h2>
|
||||||
|
<p>To use json-c you can either include <a class="el" href="json_8h.html" title="A convenience header that may be included instead of other individual ones.">json.h</a>, or preferrably, one of the following more specific header files:</p>
|
||||||
|
<ul>
|
||||||
|
<li><a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a> - Core types and methods.</li>
|
||||||
|
<li><a class="el" href="json__tokener_8h.html" title="Methods to parse an input string into a tree of json_object objects.">json_tokener.h</a> - Methods for parsing and serializing json-c object trees.</li>
|
||||||
|
<li><a class="el" href="json__pointer_8h.html" title="JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree...">json_pointer.h</a> - JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.</li>
|
||||||
|
<li><a class="el" href="json__object__iterator_8h.html" title="An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike json_object_object_foreach() and json_object_object_foreachC(), this avoids the need to expose json-c internals like lh_entry.">json_object_iterator.h</a> - Methods for iterating over single json_object instances. (See also <code><a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a></code> in <a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a>)</li>
|
||||||
|
<li><a class="el" href="json__visit_8h.html" title="Methods for walking a tree of objects.">json_visit.h</a> - Methods for walking a tree of json-c objects.</li>
|
||||||
|
<li><a class="el" href="json__util_8h.html" title="Miscllaneous utility functions and macros.">json_util.h</a> - Miscelleanous utility functions.</li>
|
||||||
|
</ul>
|
||||||
|
<p>For a full list of headers see <a href="http://json-c.github.io/json-c/json-c-current-release/doc/html/files.html">files.html</a></p>
|
||||||
|
<p>The primary type in json-c is json_object. It describes a reference counted tree of json objects which are created by either parsing text with a <a class="el" href="structjson__tokener.html">json_tokener</a> (i.e. <code><a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a></code>), or by creating (with <code><a class="el" href="json__object_8h.html#a68c383f54544fca19b5f2425be397600">json_object_new_object()</a></code>, <code><a class="el" href="json__object_8h.html#ae92f0770fb4b3c884ce35de52d3d7de8">json_object_new_int()</a></code>, etc...) and adding (with <code><a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object_object_add()</a></code>, <code><a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object_array_add()</a></code>, etc...) them individually. Typically, every object in the tree will have one reference, from it's parent. When you are done with the tree of objects, you call <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a> on just the root object to free it, which recurses down through any child objects calling <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a> on each one of those in turn.</p>
|
||||||
|
<p>You can get a reference to a single child (<code><a class="el" href="json__object_8h.html#a1a097805abb53b4c8a60d573730a8939">json_object_object_get()</a></code> or <code><a class="el" href="json__object_8h.html#a676711a76545d4ec65cc75f100f5fd19">json_object_array_get_idx()</a></code>) and use that object as long as its parent is valid. If you need a child object to live longer than its parent, you can increment the child's refcount (<code><a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object_get()</a></code>) to allow it to survive the parent being freed or it being removed from its parent (<code><a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object_object_del()</a></code> or <code><a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object_array_del_idx()</a></code>)</p>
|
||||||
|
<p>When parsing text, the <a class="el" href="structjson__tokener.html">json_tokener</a> object is independent from the json_object that it returns. It can be allocated (<code><a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener_new()</a></code>) used ones or multiple times (<code><a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a></code>, and freed (<code><a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener_free()</a></code>) while the json_object objects live on.</p>
|
||||||
|
<p>A json_object tree can be serialized back into a string with <code><a class="el" href="json__object_8h.html#a9db613127bd4ef7db42307e43a85fc1b">json_object_to_json_string_ext()</a></code>. The string that is returned is only valid until the next "to_json_string" call on that same object. Also, it is freed when the json_object is freed. </p>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
57
doc/html/issues__closed__for__0_813_8md.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/issues_closed_for_0.13.md File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">/home/erh/json-c-0.15/issues_closed_for_0.13.md File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
57
doc/html/issues__closed__for__0_814_8md.html
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/issues_closed_for_0.14.md File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">/home/erh/json-c-0.15/issues_closed_for_0.14.md File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
8
doc/html/jquery.js
vendored
Normal file
66
doc/html/json_8h.html
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>A convenience header that may be included instead of other individual ones.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>A convenience header that may be included instead of other individual ones. </p>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
203
doc/html/json__c__version_8h.html
Normal file
@@ -0,0 +1,203 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_c_version.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_c_version.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Methods for retrieving the json-c version.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a251c3e1f59a379a4a905382b4e855125"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a>   0</td></tr>
|
||||||
|
<tr class="separator:a251c3e1f59a379a4a905382b4e855125"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a>   15</td></tr>
|
||||||
|
<tr class="separator:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a64457730097067ab096906d82e4a51a6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>   0</td></tr>
|
||||||
|
<tr class="separator:a64457730097067ab096906d82e4a51a6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a>   ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td></tr>
|
||||||
|
<tr class="separator:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a>   "0.15"</td></tr>
|
||||||
|
<tr class="separator:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||||
|
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a1c42f6f71943775e2696c47951989711"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a1c42f6f71943775e2696c47951989711">json_c_version</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a1c42f6f71943775e2696c47951989711"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a860ee32b09f4faf38d73771a6ed193ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version_num</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a860ee32b09f4faf38d73771a6ed193ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Methods for retrieving the json-c version. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a251c3e1f59a379a4a905382b4e855125"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_MAJOR_VERSION   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a64457730097067ab096906d82e4a51a6"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_MICRO_VERSION   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="adc87477fbc1c75848fe6b6feec21c2d6"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_MINOR_VERSION   15</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a894adda66a072bc3fd34ebe91a5aa7f4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VERSION   "0.15"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a78e176eee75ee6aed43c4d65ca4c5b44"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VERSION_NUM   ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a1c42f6f71943775e2696c47951989711"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_c_version </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a> </dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as a string </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a860ee32b09f4faf38d73771a6ed193ed"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_c_version_num </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The json-c version encoded into an int, with the low order 8 bits being the micro version, the next higher 8 bits being the minor version and the next higher 8 bits being the major version. For example, 7.12.99 would be 0x00070B63.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a> </dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as an int </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
115
doc/html/json__inttypes_8h.html
Normal file
@@ -0,0 +1,115 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_inttypes.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_inttypes.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Do not use, json-c internal, may be changed or removed at any time.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:ae372e90b62c1e8b51dc5d95bf7f5ba48"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">PRId64</a>   "I64d"</td></tr>
|
||||||
|
<tr class="separator:ae372e90b62c1e8b51dc5d95bf7f5ba48"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae7044b3fb4cc5cde22155d59437c348f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">SCNd64</a>   "I64d"</td></tr>
|
||||||
|
<tr class="separator:ae7044b3fb4cc5cde22155d59437c348f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac582131d7a7c8ee57e73180d1714f9d5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">PRIu64</a>   "I64u"</td></tr>
|
||||||
|
<tr class="separator:ac582131d7a7c8ee57e73180d1714f9d5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Do not use, json-c internal, may be changed or removed at any time. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="ae372e90b62c1e8b51dc5d95bf7f5ba48"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define PRId64   "I64d"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac582131d7a7c8ee57e73180d1714f9d5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define PRIu64   "I64u"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae7044b3fb4cc5cde22155d59437c348f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define SCNd64   "I64d"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
2599
doc/html/json__object_8h.html
Normal file
338
doc/html/json__object__iterator_8h.html
Normal file
@@ -0,0 +1,338 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_object_iterator.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_object_iterator.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a>.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iterator.html">json_object_iterator</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:ae93958fa755852192553f1686d248cd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <br class="typebreak"/>
|
||||||
|
<a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a> (void)</td></tr>
|
||||||
|
<tr class="separator:ae93958fa755852192553f1686d248cd1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afdcd32f83dd8f20e25669f197fb7bde9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <br class="typebreak"/>
|
||||||
|
<a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iter_begin</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj)</td></tr>
|
||||||
|
<tr class="separator:afdcd32f83dd8f20e25669f197fb7bde9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a381fbae848a3268013110002d553c32e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <br class="typebreak"/>
|
||||||
|
<a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end</a> (const struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj)</td></tr>
|
||||||
|
<tr class="separator:a381fbae848a3268013110002d553c32e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8a152d153844f1ec1698419abae8c2e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iter_next</a> (struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||||
|
<tr class="separator:a8a152d153844f1ec1698419abae8c2e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:adbbc3583aef14d9416a0fc8dbf750727"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iter_peek_name</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||||
|
<tr class="separator:adbbc3583aef14d9416a0fc8dbf750727"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad8fe9251ca04af4d8e6840a44de7984b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#ad8fe9251ca04af4d8e6840a44de7984b">json_object_iter_peek_value</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||||
|
<tr class="separator:ad8fe9251ca04af4d8e6840a44de7984b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9cbb250d185348e8b193a886c35ae39e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iter_equal</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter1, const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter2)</td></tr>
|
||||||
|
<tr class="separator:a9cbb250d185348e8b193a886c35ae39e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a>. </p>
|
||||||
|
<p>Copyright (c) 2009-2012 Hewlett-Packard Development Company, L.P.</p>
|
||||||
|
<p>This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See COPYING for details.</p>
|
||||||
|
<p>API attributes: <br/>
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>Thread-safe: NO<br/>
|
||||||
|
</li>
|
||||||
|
<li>Reentrant: NO </li>
|
||||||
|
</ul>
|
||||||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="afdcd32f83dd8f20e25669f197fb7bde9"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_begin </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieves an iterator to the first pair of the JSON Object.</p>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>Any modification of the underlying pair invalidates all iterators to that pair.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type json_object)</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> 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.</dd></dl>
|
||||||
|
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structjson__object__iterator.html">json_object_iterator</a> it;</div>
|
||||||
|
<div class="line"><span class="keyword">struct </span><a class="code" href="structjson__object__iterator.html">json_object_iterator</a> itEnd;</div>
|
||||||
|
<div class="line"><span class="keyword">struct </span><a class="code" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914" title="The core type for all type of JSON objects handled by json-c.">json_object</a>* obj;</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="line">obj = <a class="code" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener_parse</a>(<span class="stringliteral">"{'first':'george', 'age':100}"</span>);</div>
|
||||||
|
<div class="line">it = <a class="code" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iter_begin</a>(obj);</div>
|
||||||
|
<div class="line">itEnd = <a class="code" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end</a>(obj);</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="line"><span class="keywordflow">while</span> (!<a class="code" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iter_equal</a>(&it, &itEnd)) {</div>
|
||||||
|
<div class="line"> printf(<span class="stringliteral">"%s\n"</span>,</div>
|
||||||
|
<div class="line"> <a class="code" href="json__object__iterator_8h.html#adbbc3583aef14d9416a0fc8dbf750727">json_object_iter_peek_name</a>(&it));</div>
|
||||||
|
<div class="line"> <a class="code" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iter_next</a>(&it);</div>
|
||||||
|
<div class="line">}</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a381fbae848a3268013110002d553c32e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_end </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieves the iterator that represents the position beyond the last pair of the given JSON Object instance.</p>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>Do NOT write code that assumes that the "end" iterator value is NULL, even if it is so in a particular instance of the implementation.</dd></dl>
|
||||||
|
<dl class="section note"><dt>Note</dt><dd>The reason we do not (and MUST NOT) provide "json_object_iter_is_end(json_object_iterator* iter)" type of API is because it would limit the underlying representation of name/value containment (or force us to add additional, otherwise unnecessary, fields to the iterator structure). The "end" iterator and the equality test method, on the other hand, permit us to cleanly abstract pretty much any reasonable underlying representation without burdening the iterator structure with unnecessary data.</dd>
|
||||||
|
<dd>
|
||||||
|
For performance reasons, memorize the "end" iterator prior to any loop.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type json_object)</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> On return, the iterator refers to the "end" of the Object instance's pairs (i.e., NOT the last pair, but "beyond the last
|
||||||
|
pair" value) </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9cbb250d185348e8b193a886c35ae39e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> json_object_iter_equal </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter1</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter2</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Tests two iterators for equality. Typically used to test for end of iteration by comparing an iterator to the corresponding "end" iterator (that was derived from the same JSON Object instance).</p>
|
||||||
|
<dl class="section note"><dt>Note</dt><dd>The reason we do not (and MUST NOT) provide "json_object_iter_is_end(json_object_iterator* iter)" type of API is because it would limit the underlying representation of name/value containment (or force us to add additional, otherwise unnecessary, fields to the iterator structure). The equality test method, on the other hand, permits us to cleanly abstract pretty much any reasonable underlying representation.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter1</td><td>Pointer to first valid, non-NULL iterator </td></tr>
|
||||||
|
<tr><td class="paramname">iter2</td><td>POinter to second valid, non-NULL iterator</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>if a NULL iterator pointer or an uninitialized or invalid iterator, or iterators derived from different JSON Object instances are passed, bad things will happen!</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>json_bool non-zero if iterators are equal (i.e., both reference the same name/value pair or are both at "end"); zero if they are not equal. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae93958fa755852192553f1686d248cd1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_init_default </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>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).</p>
|
||||||
|
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structjson__object__iterator.html">json_object_iterator</a> iter = <a class="code" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a>();</div>
|
||||||
|
<div class="line">MyClass() : iter_(<a class="code" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a>())</div>
|
||||||
|
</div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>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.</dd>
|
||||||
|
<dd>
|
||||||
|
User and internal code MUST NOT make any assumptions about and dependencies on the value of the "default" iterator value.</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a8a152d153844f1ec1698419abae8c2e4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_object_iter_next </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Returns an iterator to the next pair, if any</p>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>Any modification of the underlying pair invalidates all iterators to that pair.</dd></dl>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter</td><td>[IN/OUT] Pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator. WARNING: bad things will happen if invalid or "end" iterator is passed. Upon return will contain the reference to the next pair if there is one; if there are no more pairs, will contain the "end" iterator value, which may be compared against the return value of <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end()</a> for the same JSON Object instance. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="adbbc3583aef14d9416a0fc8dbf750727"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_object_iter_peek_name </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Returns a const pointer to the name of the pair referenced by the given iterator.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter</td><td>pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>bad things will happen if an invalid or "end" iterator is passed.</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>const char* Pointer to the name of the referenced name/value pair. The name memory belongs to the name/value pair, will be freed when the pair is deleted or modified, and MUST NOT be modified or freed by the user. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad8fe9251ca04af4d8e6840a44de7984b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_object_iter_peek_value </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||||
|
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Returns a pointer to the json-c instance representing the value of the referenced name/value pair, without altering the instance's reference count.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">iter</td><td>pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section warning"><dt>Warning</dt><dd>bad things will happen if invalid or "end" iterator is passed.</dd></dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>struct json_object* Pointer to the json-c value instance of the referenced name/value pair; the value's reference count is not changed by this function: if you plan to hold on to this json-c node, take a look at <a class="el" href="json__object_8h.html#a675aa3a9cced685dbfd1c1a770a0c3e4">json_object_get()</a> and <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>. IMPORTANT: json-c API represents the JSON Null value as a NULL json_object instance pointer. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
272
doc/html/json__pointer_8h.html
Normal file
@@ -0,0 +1,272 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_pointer.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_pointer.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:aff88937e32b0ba6ffbd07cb4b1919053"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer_get</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, const char *path, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **res)</td></tr>
|
||||||
|
<tr class="separator:aff88937e32b0ba6ffbd07cb4b1919053"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af0ac03df64b215d05041e8007ed0233d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer_getf</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **res, const char *path_fmt,...)</td></tr>
|
||||||
|
<tr class="separator:af0ac03df64b215d05041e8007ed0233d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aef0e651f63ce5ce35648503705e2586b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **obj, const char *path, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *value)</td></tr>
|
||||||
|
<tr class="separator:aef0e651f63ce5ce35648503705e2586b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a66f1f98a2ce085c19f6750193b4c726d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer_setf</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **obj, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *value, const char *path_fmt,...)</td></tr>
|
||||||
|
<tr class="separator:a66f1f98a2ce085c19f6750193b4c726d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree. </p>
|
||||||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="aff88937e32b0ba6ffbd07cb4b1919053"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_get </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>res</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieves a JSON sub-object from inside another JSON object using the JSON pointer notation as defined in RFC 6901 <a href="https://tools.ietf.org/html/rfc6901">https://tools.ietf.org/html/rfc6901</a></p>
|
||||||
|
<p>The returned JSON sub-object is equivalent to parsing manually the 'obj' JSON tree ; i.e. it's not a new object that is created, but rather a pointer inside the JSON tree.</p>
|
||||||
|
<p>Internally, this is equivalent to doing a series of '<a class="el" href="json__object_8h.html#a1a097805abb53b4c8a60d573730a8939">json_object_object_get()</a>' and '<a class="el" href="json__object_8h.html#a676711a76545d4ec65cc75f100f5fd19">json_object_array_get_idx()</a>' along the given 'path'.</p>
|
||||||
|
<p>Note that the 'path' string supports 'printf()' type arguments, so, whatever is added after the 'res' param will be treated as an argument for 'path' Example: json_pointer_get(obj, "/foo/%d/%s", &res, 0, bar) This means, that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the json_object instance/tree from where to retrieve sub-objects </td></tr>
|
||||||
|
<tr><td class="paramname">path</td><td>a (RFC6901) string notation for the sub-object to retrieve </td></tr>
|
||||||
|
<tr><td class="paramname">res</td><td>a pointer that stores a reference to the json_object associated with the given path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af0ac03df64b215d05041e8007ed0233d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_getf </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>res</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path_fmt</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This is a variant of '<a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer_get()</a>' that supports printf() style arguments.</p>
|
||||||
|
<p>Example: json_pointer_getf(obj, res, "/foo/%d/%s", 0, bak) This also means that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<p>Please take into consideration all recommended 'printf()' format security aspects when using this function.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the json_object instance/tree to which to add a sub-object </td></tr>
|
||||||
|
<tr><td class="paramname">res</td><td>a pointer that stores a reference to the json_object associated with the given path </td></tr>
|
||||||
|
<tr><td class="paramname">path_fmt</td><td>a printf() style format for the path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aef0e651f63ce5ce35648503705e2586b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_set </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>value</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Sets JSON object 'value' in the 'obj' tree at the location specified by the 'path'. 'path' is JSON pointer notation as defined in RFC 6901 <a href="https://tools.ietf.org/html/rfc6901">https://tools.ietf.org/html/rfc6901</a></p>
|
||||||
|
<p>Note that 'obj' is a double pointer, mostly for the "" (empty string) case, where the entire JSON object would be replaced by 'value'. In the case of the "" path, the object at '*obj' will have it's refcount decremented with '<a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>' and the 'value' object will be assigned to it.</p>
|
||||||
|
<p>For other cases (JSON sub-objects) ownership of 'value' will be transferred into '*obj' via '<a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object_object_add()</a>' & '<a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object_array_put_idx()</a>', so the only time the refcount should be decremented for 'value' is when the return value of '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' is negative (meaning the 'value' object did not get set into '*obj').</p>
|
||||||
|
<p>That also implies that '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' does not do any refcount incrementing. (Just that single decrement that was mentioned above).</p>
|
||||||
|
<p>Note that the 'path' string supports 'printf()' type arguments, so, whatever is added after the 'value' param will be treated as an argument for 'path' Example: json_pointer_set(obj, "/foo/%d/%s", value, 0, bak) This means, that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the json_object instance/tree to which to add a sub-object </td></tr>
|
||||||
|
<tr><td class="paramname">path</td><td>a (RFC6901) string notation for the sub-object to set in the tree </td></tr>
|
||||||
|
<tr><td class="paramname">value</td><td>object to set at path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a66f1f98a2ce085c19f6750193b4c726d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_setf </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>value</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>path_fmt</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This is a variant of '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' that supports printf() style arguments.</p>
|
||||||
|
<p>Example: json_pointer_setf(obj, value, "/foo/%d/%s", 0, bak) This also means that you need to escape '' with '%' (just like in printf())</p>
|
||||||
|
<p>Please take into consideration all recommended 'printf()' format security aspects when using this function.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">obj</td><td>the json_object instance/tree to which to add a sub-object </td></tr>
|
||||||
|
<tr><td class="paramname">value</td><td>object to set at path </td></tr>
|
||||||
|
<tr><td class="paramname">path_fmt</td><td>a printf() style format for the path</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
690
doc/html/json__tokener_8h.html
Normal file
@@ -0,0 +1,690 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_tokener.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#enum-members">Enumerations</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_tokener.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Methods to parse an input string into a tree of json_object objects.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html">json_tokener</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a5ccd346459feb66e4e0af32005360279"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">JSON_TOKENER_DEFAULT_DEPTH</a>   32</td></tr>
|
||||||
|
<tr class="separator:a5ccd346459feb66e4e0af32005360279"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a72be595cb7e090c70b1d29feb1cbfb16"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">JSON_TOKENER_STRICT</a>   0x01</td></tr>
|
||||||
|
<tr class="separator:a72be595cb7e090c70b1d29feb1cbfb16"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa74428c9cf57655eea5b49feae3f2704"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#aa74428c9cf57655eea5b49feae3f2704">JSON_TOKENER_ALLOW_TRAILING_CHARS</a>   0x02</td></tr>
|
||||||
|
<tr class="separator:aa74428c9cf57655eea5b49feae3f2704"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a633ab043f2b07fd22420af2b369a260a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">JSON_TOKENER_VALIDATE_UTF8</a>   0x10</td></tr>
|
||||||
|
<tr class="separator:a633ab043f2b07fd22420af2b369a260a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:a4dd5e5b65aee7f376f529f86b210ff49"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__tokener.html">json_tokener</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener</a></td></tr>
|
||||||
|
<tr class="separator:a4dd5e5b65aee7f376f529f86b210ff49"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||||
|
Enumerations</h2></td></tr>
|
||||||
|
<tr class="memitem:a0a31f0df8a532ef8be5c09ba40eacb59"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> { <br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener_success</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener_continue</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener_error_depth</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener_error_parse_eof</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener_error_parse_unexpected</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener_error_parse_null</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener_error_parse_boolean</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener_error_parse_number</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener_error_parse_array</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener_error_parse_object_key_name</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener_error_parse_object_key_sep</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener_error_parse_object_value_sep</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener_error_parse_string</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener_error_parse_comment</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener_error_parse_utf8_string</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener_error_size</a>
|
||||||
|
<br/>
|
||||||
|
}</td></tr>
|
||||||
|
<tr class="separator:a0a31f0df8a532ef8be5c09ba40eacb59"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af026dec71e4548e6200eb2f902f1c4e2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> { <br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener_state_eatws</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener_state_start</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener_state_finish</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener_state_null</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener_state_comment_start</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener_state_comment</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener_state_comment_eol</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener_state_comment_end</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener_state_string</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener_state_string_escape</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener_state_escape_unicode</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264">json_tokener_state_escape_unicode_need_escape</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4">json_tokener_state_escape_unicode_need_u</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener_state_boolean</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener_state_number</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener_state_array</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener_state_array_add</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener_state_array_sep</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener_state_object_field_start</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener_state_object_field</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener_state_object_field_end</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener_state_object_value</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener_state_object_value_add</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener_state_object_sep</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener_state_array_after_sep</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener_state_object_field_start_after_sep</a>,
|
||||||
|
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener_state_inf</a>
|
||||||
|
<br/>
|
||||||
|
}</td></tr>
|
||||||
|
<tr class="separator:af026dec71e4548e6200eb2f902f1c4e2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a4a2fa28d815f8b370cbb00b80ebc0f1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:a4a2fa28d815f8b370cbb00b80ebc0f1d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af060dd6b593b3b710044bcb97dcec07f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener_error_desc</a> (enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> jerr)</td></tr>
|
||||||
|
<tr class="separator:af060dd6b593b3b710044bcb97dcec07f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af5d7ffd95a0f6e5d5bb5994d233b4197"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:af5d7ffd95a0f6e5d5bb5994d233b4197"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5ac7e2c350bc592cf2fa7b9935b00ef5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener_new</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a5ac7e2c350bc592cf2fa7b9935b00ef5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6a1583ddd434e13515d6232de813462e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener_new_ex</a> (int depth)</td></tr>
|
||||||
|
<tr class="separator:a6a1583ddd434e13515d6232de813462e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a887c4661906fc6b36cc366304e522534"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener_free</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:a887c4661906fc6b36cc366304e522534"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a238649a59737be5152d525aeaf4153ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener_reset</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||||
|
<tr class="separator:a238649a59737be5152d525aeaf4153ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a236ef64d079822a4411d13eae7190c4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener_parse</a> (const char *str)</td></tr>
|
||||||
|
<tr class="separator:a236ef64d079822a4411d13eae7190c4d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a735f2dc755d57ed5c5b807aaaaef3b14"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a735f2dc755d57ed5c5b807aaaaef3b14">json_tokener_parse_verbose</a> (const char *str, enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> *error)</td></tr>
|
||||||
|
<tr class="separator:a735f2dc755d57ed5c5b807aaaaef3b14"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7e7a0c0c9dc79e5e47b2608bb8aad7b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok, int flags)</td></tr>
|
||||||
|
<tr class="separator:a7e7a0c0c9dc79e5e47b2608bb8aad7b7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a61679f178111963a9ffa3c8179553f7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok, const char *str, int len)</td></tr>
|
||||||
|
<tr class="separator:a61679f178111963a9ffa3c8179553f7a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Methods to parse an input string into a tree of json_object objects. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="aa74428c9cf57655eea5b49feae3f2704"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_TOKENER_ALLOW_TRAILING_CHARS   0x02</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Use with JSON_TOKENER_STRICT to allow trailing characters after the first parsed object.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5ccd346459feb66e4e0af32005360279"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_TOKENER_DEFAULT_DEPTH   32</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a72be595cb7e090c70b1d29feb1cbfb16"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_TOKENER_STRICT   0x01</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Be strict when parsing JSON input. Use caution with this flag as what is considered valid may become more restrictive from one release to the next, causing your code to fail on previously working input.</p>
|
||||||
|
<p>Note that setting this will also effectively disable parsing of multiple json objects in a single character stream (e.g. {"foo":123}{"bar":234}); if you want to allow that also set JSON_TOKENER_ALLOW_TRAILING_CHARS</p>
|
||||||
|
<p>This flag is not set by default.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a633ab043f2b07fd22420af2b369a260a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_TOKENER_VALIDATE_UTF8   0x10</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Cause <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> to validate that input is UTF8. If this flag is specified and validation fails, then json_tokener_get_error(tok) will return json_tokener_error_parse_utf8_string</p>
|
||||||
|
<p>This flag is not set by default.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a4dd5e5b65aee7f376f529f86b210ff49"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structjson__tokener.html">json_tokener</a> <a class="el" href="structjson__tokener.html">json_tokener</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Unused in json-c code </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||||
|
<a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0"></a>json_tokener_success</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0"></a>json_tokener_continue</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c"></a>json_tokener_error_depth</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded"></a>json_tokener_error_parse_eof</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710"></a>json_tokener_error_parse_unexpected</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c"></a>json_tokener_error_parse_null</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c"></a>json_tokener_error_parse_boolean</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81"></a>json_tokener_error_parse_number</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e"></a>json_tokener_error_parse_array</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0"></a>json_tokener_error_parse_object_key_name</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd"></a>json_tokener_error_parse_object_key_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013"></a>json_tokener_error_parse_object_value_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7"></a>json_tokener_error_parse_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28"></a>json_tokener_error_parse_comment</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1"></a>json_tokener_error_parse_utf8_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d"></a>json_tokener_error_size</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd></dl>
|
||||||
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d"></a>json_tokener_state_eatws</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72"></a>json_tokener_state_start</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2"></a>json_tokener_state_finish</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792"></a>json_tokener_state_null</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c"></a>json_tokener_state_comment_start</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9"></a>json_tokener_state_comment</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162"></a>json_tokener_state_comment_eol</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1"></a>json_tokener_state_comment_end</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65"></a>json_tokener_state_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e"></a>json_tokener_state_string_escape</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0"></a>json_tokener_state_escape_unicode</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264"></a>json_tokener_state_escape_unicode_need_escape</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4"></a>json_tokener_state_escape_unicode_need_u</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e"></a>json_tokener_state_boolean</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81"></a>json_tokener_state_number</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4"></a>json_tokener_state_array</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771"></a>json_tokener_state_array_add</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865"></a>json_tokener_state_array_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29"></a>json_tokener_state_object_field_start</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc"></a>json_tokener_state_object_field</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7"></a>json_tokener_state_object_field_end</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa"></a>json_tokener_state_object_value</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162"></a>json_tokener_state_object_value_add</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215"></a>json_tokener_state_object_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9"></a>json_tokener_state_array_after_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523"></a>json_tokener_state_object_field_start_after_sep</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53"></a>json_tokener_state_inf</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="af060dd6b593b3b710044bcb97dcec07f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_tokener_error_desc </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> </td>
|
||||||
|
<td class="paramname"><em>jerr</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Given an error previously returned by <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a>, return a human readable description of the error.</p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>a generic error message is returned if an invalid error value is provided. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a887c4661906fc6b36cc366304e522534"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_free </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Free a <a class="el" href="structjson__tokener.html">json_tokener</a> previously allocated with <a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener_new()</a>. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af5d7ffd95a0f6e5d5bb5994d233b4197"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> json_tokener_get_error </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Retrieve the error caused by the last call to <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a>, or json_tokener_success if there is no error.</p>
|
||||||
|
<p>When parsing a JSON string in pieces, if the tokener is in the middle of parsing this will return json_tokener_continue.</p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener_error_desc()</a>. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a4a2fa28d815f8b370cbb00b80ebc0f1d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> size_t json_tokener_get_parse_end </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return the offset of the byte after the last byte parsed relative to the start of the most recent string passed in to <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a>. i.e. this is where parsing would start again if the input contains another JSON object after the currently parsed one.</p>
|
||||||
|
<p>Note that when multiple parse calls are issued, this is <em>not</em> the total number of characters parsed.</p>
|
||||||
|
<p>In the past this would have been accessed as tok->char_offset.</p>
|
||||||
|
<p>See <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> for an example of how to use this. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5ac7e2c350bc592cf2fa7b9935b00ef5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a>* json_tokener_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Allocate a new <a class="el" href="structjson__tokener.html">json_tokener</a>. When done using that to parse objects, free it with <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener_free()</a>. See <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> for usage details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a6a1583ddd434e13515d6232de813462e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a>* json_tokener_new_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>depth</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Allocate a new <a class="el" href="structjson__tokener.html">json_tokener</a> with a custom max nesting depth. </p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">JSON_TOKENER_DEFAULT_DEPTH</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a236ef64d079822a4411d13eae7190c4d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_tokener_parse </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>str</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Parse a json_object out of the string <code>str</code>.</p>
|
||||||
|
<p>If you need more control over how the parsing occurs, see <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a>. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a61679f178111963a9ffa3c8179553f7a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_tokener_parse_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>str</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>len</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Parse a string and return a non-NULL json_object if a valid JSON value is found. The string does not need to be a JSON object or array; it can also be a string, number or boolean value.</p>
|
||||||
|
<p>A partial JSON string can be parsed. If the parsing is incomplete, NULL will be returned and <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> will return json_tokener_continue. <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> can then be called with additional bytes in str to continue the parsing.</p>
|
||||||
|
<p>If <a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> returns NULL and the error is anything other than json_tokener_continue, a fatal error has occurred and parsing must be halted. Then, the tok object must not be reused until <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener_reset()</a> is called.</p>
|
||||||
|
<p>When a valid JSON value is parsed, a non-NULL json_object will be returned, with a reference count of one which belongs to the caller. Also, <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> will return json_tokener_success. Be sure to check the type with <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object_is_type()</a> or <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object_get_type()</a> before using the object.</p>
|
||||||
|
<p>Trailing characters after the parsed value do not automatically cause an error. It is up to the caller to decide whether to treat this as an error or to handle the additional characters, perhaps by parsing another json value starting from that point.</p>
|
||||||
|
<p>If the caller knows that they are at the end of their input, the length passed MUST include the final '\0' character, so values with no inherent end (i.e. numbers) can be properly parsed, rather than just returning json_tokener_continue.</p>
|
||||||
|
<p>Extra characters can be detected by comparing the value returned by <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end()</a> against the length of the last len parameter passed in.</p>
|
||||||
|
<p>The tokener does <b>not</b> maintain an internal buffer so the caller is responsible for a subsequent call to json_tokener_parse_ex with an appropriate str parameter starting with the extra characters.</p>
|
||||||
|
<p>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)</p>
|
||||||
|
<p>Example: </p>
|
||||||
|
<div class="fragment"><div class="line"><a class="code" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914" title="The core type for all type of JSON objects handled by json-c.">json_object</a> *jobj = NULL;</div>
|
||||||
|
<div class="line"><span class="keyword">const</span> <span class="keywordtype">char</span> *mystring = NULL;</div>
|
||||||
|
<div class="line"><span class="keywordtype">int</span> stringlen = 0;</div>
|
||||||
|
<div class="line"><span class="keyword">enum</span> <a class="code" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> jerr;</div>
|
||||||
|
<div class="line"><span class="keywordflow">do</span> {</div>
|
||||||
|
<div class="line"> mystring = ... <span class="comment">// get JSON string, e.g. read from file, etc...</span></div>
|
||||||
|
<div class="line"> stringlen = strlen(mystring);</div>
|
||||||
|
<div class="line"> <span class="keywordflow">if</span> (end_of_input)</div>
|
||||||
|
<div class="line"> stringlen++; <span class="comment">// Include the '\0' if we know we're at the end of input</span></div>
|
||||||
|
<div class="line"> jobj = <a class="code" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex</a>(tok, mystring, stringlen);</div>
|
||||||
|
<div class="line">} <span class="keywordflow">while</span> ((jerr = <a class="code" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error</a>(tok)) == <a class="code" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener_continue</a>);</div>
|
||||||
|
<div class="line"><span class="keywordflow">if</span> (jerr != <a class="code" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener_success</a>)</div>
|
||||||
|
<div class="line">{</div>
|
||||||
|
<div class="line"> fprintf(stderr, <span class="stringliteral">"Error: %s\n"</span>, <a class="code" href="json__tokener_8h.html#af060dd6b593b3b710044bcb97dcec07f">json_tokener_error_desc</a>(jerr));</div>
|
||||||
|
<div class="line"> <span class="comment">// Handle errors, as appropriate for your application.</span></div>
|
||||||
|
<div class="line">}</div>
|
||||||
|
<div class="line"><span class="keywordflow">if</span> (<a class="code" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end</a>(tok) < stringlen)</div>
|
||||||
|
<div class="line">{</div>
|
||||||
|
<div class="line"> <span class="comment">// Handle extra characters after parsed object as desired.</span></div>
|
||||||
|
<div class="line"> <span class="comment">// e.g. issue an error, parse another object from that point, etc...</span></div>
|
||||||
|
<div class="line">}</div>
|
||||||
|
<div class="line"><span class="comment">// Success, use jobj here.</span></div>
|
||||||
|
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">tok</td><td>a <a class="el" href="structjson__tokener.html">json_tokener</a> previously allocated with <a class="el" href="json__tokener_8h.html#a5ac7e2c350bc592cf2fa7b9935b00ef5">json_tokener_new()</a> </td></tr>
|
||||||
|
<tr><td class="paramname">str</td><td>an string with any valid JSON expression, or portion of. This does not need to be null terminated. </td></tr>
|
||||||
|
<tr><td class="paramname">len</td><td>the length of str </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a735f2dc755d57ed5c5b807aaaaef3b14"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_tokener_parse_verbose </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>str</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> * </td>
|
||||||
|
<td class="paramname"><em>error</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Parser a json_object out of the string <code>str</code>, but if it fails return the error in <code>*error</code>. </p>
|
||||||
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener_parse()</a> </dd>
|
||||||
|
<dd>
|
||||||
|
<a class="el" href="json__tokener_8h.html#a61679f178111963a9ffa3c8179553f7a">json_tokener_parse_ex()</a> </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a238649a59737be5152d525aeaf4153ab"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_reset </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Reset the state of a <a class="el" href="structjson__tokener.html">json_tokener</a>, to prepare to parse a brand new JSON object. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a7e7a0c0c9dc79e5e47b2608bb8aad7b7"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_set_flags </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||||
|
<td class="paramname"><em>tok</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>flags</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Set flags that control how parsing will be done. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
234
doc/html/json__types_8h.html
Normal file
@@ -0,0 +1,234 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_types.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#enum-members">Enumerations</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_types.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Basic types used in a few places in json-c, but you should include "json_object.h" instead.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iter.html">json_object_iter</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||||
|
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:af88126730e765f2068968f4b16fd074f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__object__iter.html">json_object_iter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_object_iter</a></td></tr>
|
||||||
|
<tr class="separator:af88126730e765f2068968f4b16fd074f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a81f02022906fafc71eb9197049f07f73"><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a></td></tr>
|
||||||
|
<tr class="separator:a81f02022906fafc71eb9197049f07f73"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af27907ced0f5a43409ad96430fe0f914"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a></td></tr>
|
||||||
|
<tr class="memdesc:af27907ced0f5a43409ad96430fe0f914"><td class="mdescLeft"> </td><td class="mdescRight">The core type for all type of JSON objects handled by json-c. <a href="#af27907ced0f5a43409ad96430fe0f914"></a><br/></td></tr>
|
||||||
|
<tr class="separator:af27907ced0f5a43409ad96430fe0f914"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa647d7c567a06abe1a1a511f6d6860e4"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_object_delete_fn</a> )(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, void *userdata)</td></tr>
|
||||||
|
<tr class="separator:aa647d7c567a06abe1a1a511f6d6860e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af84078100a9025df418f31626ea866fa"><td class="memItemLeft" align="right" valign="top">typedef int( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_object_to_json_string_fn</a> )(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, struct <a class="el" href="structprintbuf.html">printbuf</a> *pb, int level, int flags)</td></tr>
|
||||||
|
<tr class="separator:af84078100a9025df418f31626ea866fa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aba5eff84f8638d22f50403175f270c96"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#aba5eff84f8638d22f50403175f270c96">json_type</a></td></tr>
|
||||||
|
<tr class="separator:aba5eff84f8638d22f50403175f270c96"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||||
|
Enumerations</h2></td></tr>
|
||||||
|
<tr class="memitem:ac75c61993722a9b8aaa44704072ec06c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> { <br/>
|
||||||
|
  <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_type_null</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_type_boolean</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_type_double</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_type_int</a>,
|
||||||
|
<br/>
|
||||||
|
  <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_type_object</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_type_array</a>,
|
||||||
|
<a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_type_string</a>
|
||||||
|
<br/>
|
||||||
|
}</td></tr>
|
||||||
|
<tr class="separator:ac75c61993722a9b8aaa44704072ec06c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Basic types used in a few places in json-c, but you should include "json_object.h" instead. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a81f02022906fafc71eb9197049f07f73"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af27907ced0f5a43409ad96430fe0f914"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>The core type for all type of JSON objects handled by json-c. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aa647d7c567a06abe1a1a511f6d6860e4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef void( json_object_delete_fn)(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, void *userdata)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Type of custom user delete functions. See json_object_set_serializer. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af88126730e765f2068968f4b16fd074f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structjson__object__iter.html">json_object_iter</a> <a class="el" href="structjson__object__iter.html">json_object_iter</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af84078100a9025df418f31626ea866fa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int( json_object_to_json_string_fn)(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, struct <a class="el" href="structprintbuf.html">printbuf</a> *pb, int level, int flags)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Type of a custom serialization function. See json_object_set_serializer. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aba5eff84f8638d22f50403175f270c96"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||||
|
<a class="anchor" id="ac75c61993722a9b8aaa44704072ec06c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1"></a>json_type_null</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c"></a>json_type_boolean</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd"></a>json_type_double</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956"></a>json_type_int</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f"></a>json_type_object</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c"></a>json_type_array</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
<tr><td valign="top"><em><a class="anchor" id="ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6"></a>json_type_string</em> </td><td>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
477
doc/html/json__util_8h.html
Normal file
@@ -0,0 +1,477 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_util.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_util.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Miscllaneous utility functions and macros.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a3dde282dc23d0eaa3c4840df8dc262d4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_min</a>(a, b)   ((a) < (b) ? (a) : (b))</td></tr>
|
||||||
|
<tr class="separator:a3dde282dc23d0eaa3c4840df8dc262d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a57d63d199d4b9ea40359253618951300"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_max</a>(a, b)   ((a) > (b) ? (a) : (b))</td></tr>
|
||||||
|
<tr class="separator:a57d63d199d4b9ea40359253618951300"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a084b6afc8f7fbef88976aabe4aca7efd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">JSON_FILE_BUF_SIZE</a>   4096</td></tr>
|
||||||
|
<tr class="separator:a084b6afc8f7fbef88976aabe4aca7efd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a03119ec0a71af4eee95318e9b2aaf05b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a03119ec0a71af4eee95318e9b2aaf05b">json_object_from_file</a> (const char *filename)</td></tr>
|
||||||
|
<tr class="separator:a03119ec0a71af4eee95318e9b2aaf05b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a88c5c7ce735d95f6c3c81c73475e14aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_object_from_fd_ex</a> (int fd, int depth)</td></tr>
|
||||||
|
<tr class="separator:a88c5c7ce735d95f6c3c81c73475e14aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5b72bf6f3ac8fb03da38d2e2d1e18d1b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a5b72bf6f3ac8fb03da38d2e2d1e18d1b">json_object_from_fd</a> (int fd)</td></tr>
|
||||||
|
<tr class="separator:a5b72bf6f3ac8fb03da38d2e2d1e18d1b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a486fc95fafe7cb91c58c7f6487036bc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_object_to_file</a> (const char *filename, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj)</td></tr>
|
||||||
|
<tr class="separator:a486fc95fafe7cb91c58c7f6487036bc5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a68a7385c555cf21797e361d1d4de3441"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_object_to_file_ext</a> (const char *filename, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, int flags)</td></tr>
|
||||||
|
<tr class="separator:a68a7385c555cf21797e361d1d4de3441"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:afd492c120e359d2d75b67da96b580661"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_object_to_fd</a> (int fd, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, int flags)</td></tr>
|
||||||
|
<tr class="separator:afd492c120e359d2d75b67da96b580661"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9fe4dbb5fe32850cdc22a97454e4500b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a9fe4dbb5fe32850cdc22a97454e4500b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9d9a63936cdae6639b9cdd87fdd13506"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_parse_int64</a> (const char *buf, int64_t *retval)</td></tr>
|
||||||
|
<tr class="separator:a9d9a63936cdae6639b9cdd87fdd13506"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a94c2340c1344d57f7aa067f2dd0407f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_parse_uint64</a> (const char *buf, uint64_t *retval)</td></tr>
|
||||||
|
<tr class="separator:a94c2340c1344d57f7aa067f2dd0407f9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a3f0f0b8f29a41b47d62e6c867707be50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_parse_double</a> (const char *buf, double *retval)</td></tr>
|
||||||
|
<tr class="separator:a3f0f0b8f29a41b47d62e6c867707be50"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a762aaf3df0a9c7b6919cdc1035348012"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a762aaf3df0a9c7b6919cdc1035348012">json_type_to_name</a> (enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> o_type)</td></tr>
|
||||||
|
<tr class="separator:a762aaf3df0a9c7b6919cdc1035348012"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Miscllaneous utility functions and macros. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a084b6afc8f7fbef88976aabe4aca7efd"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_FILE_BUF_SIZE   4096</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a57d63d199d4b9ea40359253618951300"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define json_max</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">a, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">b </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   ((a) > (b) ? (a) : (b))</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a3dde282dc23d0eaa3c4840df8dc262d4"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define json_min</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">a, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">b </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   ((a) < (b) ? (a) : (b))</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a5b72bf6f3ac8fb03da38d2e2d1e18d1b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_object_from_fd </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>fd</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Create a JSON object from an already opened file descriptor, using the default maximum object depth. (JSON_TOKENER_DEFAULT_DEPTH)</p>
|
||||||
|
<p>See <a class="el" href="json__util_8h.html#a88c5c7ce735d95f6c3c81c73475e14aa">json_object_from_fd_ex()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a88c5c7ce735d95f6c3c81c73475e14aa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_object_from_fd_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>fd</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>depth</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Create a JSON object from already opened file descriptor.</p>
|
||||||
|
<p>This function can be helpful, when you opened the file already, e.g. when you have a temp file. Note, that the fd must be readable at the actual position, i.e. use lseek(fd, 0, SEEK_SET) before.</p>
|
||||||
|
<p>The depth argument specifies the maximum object depth to pass to <a class="el" href="json__tokener_8h.html#a6a1583ddd434e13515d6232de813462e">json_tokener_new_ex()</a>. When depth == -1, JSON_TOKENER_DEFAULT_DEPTH is used instead.</p>
|
||||||
|
<p>Returns NULL on failure. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a03119ec0a71af4eee95318e9b2aaf05b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_object_from_file </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>filename</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Read the full contents of the given file, then convert it to a json_object using <a class="el" href="json__tokener_8h.html#a236ef64d079822a4411d13eae7190c4d">json_tokener_parse()</a>.</p>
|
||||||
|
<p>Returns NULL on failure. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="afd492c120e359d2d75b67da96b580661"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_fd </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>fd</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>flags</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convert the json_object to a string and write it to the file descriptor. Handles partial writes and will keep writing until done, or an error occurs.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">fd</td><td>an open, writable file descriptor to write to </td></tr>
|
||||||
|
<tr><td class="paramname">obj</td><td>the object to serializer and write </td></tr>
|
||||||
|
<tr><td class="paramname">flags</td><td>flags to pass to <a class="el" href="json__object_8h.html#a9db613127bd4ef7db42307e43a85fc1b">json_object_to_json_string_ext()</a> </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>-1 if something fails. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a486fc95fafe7cb91c58c7f6487036bc5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_file </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>filename</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Equivalent to: json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN);</p>
|
||||||
|
<p>Returns -1 if something fails. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a68a7385c555cf21797e361d1d4de3441"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_file_ext </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>filename</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>obj</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>flags</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Open and truncate the given file, creating it if necessary, then convert the json_object to a string and write it to the file.</p>
|
||||||
|
<p>Returns -1 if something fails. See <a class="el" href="json__util_8h.html#a9fe4dbb5fe32850cdc22a97454e4500b">json_util_get_last_err()</a> for details. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a3f0f0b8f29a41b47d62e6c867707be50"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_double </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>buf</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">double * </td>
|
||||||
|
<td class="paramname"><em>retval</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd></dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9d9a63936cdae6639b9cdd87fdd13506"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_int64 </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>buf</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int64_t * </td>
|
||||||
|
<td class="paramname"><em>retval</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a94c2340c1344d57f7aa067f2dd0407f9"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_uint64 </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>buf</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">uint64_t * </td>
|
||||||
|
<td class="paramname"><em>retval</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a762aaf3df0a9c7b6919cdc1035348012"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_type_to_name </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> </td>
|
||||||
|
<td class="paramname"><em>o_type</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return a string describing the type of the object. e.g. "int", or "object", etc... </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9fe4dbb5fe32850cdc22a97454e4500b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_util_get_last_err </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return the last error from various json-c functions, including: json_object_to_file{,<em>ext}, <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_object_to_fd()</a> or json_object_from</em>{file,fd}, or NULL if there is none. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
243
doc/html/json__visit_8h.html
Normal file
@@ -0,0 +1,243 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/json_visit.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_visit.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Methods for walking a tree of objects.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:ac5be4a96b99b724833943003715dfc1c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">JSON_C_VISIT_SECOND</a>   0x02</td></tr>
|
||||||
|
<tr class="separator:ac5be4a96b99b724833943003715dfc1c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a98b35e1ba1d52d41799dccbfd2c170a1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">JSON_C_VISIT_RETURN_CONTINUE</a>   0</td></tr>
|
||||||
|
<tr class="separator:a98b35e1ba1d52d41799dccbfd2c170a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:adc7ca60a79c4ae870d9463e41527c2a1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">JSON_C_VISIT_RETURN_SKIP</a>   7547</td></tr>
|
||||||
|
<tr class="separator:adc7ca60a79c4ae870d9463e41527c2a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a327a21f1f1c6f84e7a13fbaaf4a51b13"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">JSON_C_VISIT_RETURN_POP</a>   767</td></tr>
|
||||||
|
<tr class="separator:a327a21f1f1c6f84e7a13fbaaf4a51b13"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5956f41bed48f90a127f9b37fad7ea97"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">JSON_C_VISIT_RETURN_STOP</a>   7867</td></tr>
|
||||||
|
<tr class="separator:a5956f41bed48f90a127f9b37fad7ea97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:abfacb0713b81c897a8ce5f37ff6ffb9c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">JSON_C_VISIT_RETURN_ERROR</a>   -1</td></tr>
|
||||||
|
<tr class="separator:abfacb0713b81c897a8ce5f37ff6ffb9c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:a0fadec4abb2befcacfaff7df822f3f8d"><td class="memItemLeft" align="right" valign="top">typedef int( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_c_visit_userfunc</a> )(<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, int flags, <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)</td></tr>
|
||||||
|
<tr class="separator:a0fadec4abb2befcacfaff7df822f3f8d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a0f585e56a5d417381cdf6c28538dbb20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_c_visit</a> (<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, int future_flags, <a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_c_visit_userfunc</a> *userfunc, void *userarg)</td></tr>
|
||||||
|
<tr class="separator:a0f585e56a5d417381cdf6c28538dbb20"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Methods for walking a tree of objects. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a98b35e1ba1d52d41799dccbfd2c170a1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_CONTINUE   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration should proceed normally. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="abfacb0713b81c897a8ce5f37ff6ffb9c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_ERROR   -1</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration should stop immediately, and cause json_c_visit to return an error. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a327a21f1f1c6f84e7a13fbaaf4a51b13"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_POP   767</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration of the fields/elements of the <b>containing</b> object should stop and continue "popped up" a level of the object hierarchy. For example, returning this when handling arg will result in arg3 and any other fields being skipped. The next call to userfunc will be the JSON_C_VISIT_SECOND call on "foo", followed by a userfunc call on "bar". </p>
|
||||||
|
<pre>
|
||||||
|
{
|
||||||
|
"foo": {
|
||||||
|
"arg1": 1,
|
||||||
|
"arg2": 2,
|
||||||
|
"arg3": 3,
|
||||||
|
...
|
||||||
|
},
|
||||||
|
"bar": {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="adc7ca60a79c4ae870d9463e41527c2a1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_SKIP   7547</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration over the members of the current object should be skipped. If the current object isn't a container (array or object), this is no different than JSON_C_VISIT_RETURN_CONTINUE. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5956f41bed48f90a127f9b37fad7ea97"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_RETURN_STOP   7867</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This json_c_visit_userfunc return value indicates that iteration should stop immediately, and cause json_c_visit to return success. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac5be4a96b99b724833943003715dfc1c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_VISIT_SECOND   0x02</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Passed to json_c_visit_userfunc as one of the flags values to indicate that this is the second time a container (array or object) is being called, after all of it's members have been iterated over. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a0fadec4abb2befcacfaff7df822f3f8d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int( json_c_visit_userfunc)(<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, int flags, <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a0f585e56a5d417381cdf6c28538dbb20"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_c_visit </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||||
|
<td class="paramname"><em>jso</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>future_flags</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="json__visit_8h.html#a0fadec4abb2befcacfaff7df822f3f8d">json_c_visit_userfunc</a> * </td>
|
||||||
|
<td class="paramname"><em>userfunc</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void * </td>
|
||||||
|
<td class="paramname"><em>userarg</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Visit each object in the JSON hierarchy starting at jso. For each object, userfunc is called, passing the object and userarg. If the object has a parent (i.e. anything other than jso itself) its parent will be passed as parent_jso, and either jso_key or jso_index will be set, depending on whether the parent is an object or an array.</p>
|
||||||
|
<p>Nodes will be visited depth first, but containers (arrays and objects) will be visited twice, the second time with JSON_C_VISIT_SECOND set in flags.</p>
|
||||||
|
<p>userfunc must return one of the defined return values, to indicate whether and how to continue visiting nodes, or one of various ways to stop.</p>
|
||||||
|
<p>Returns 0 if nodes were visited successfully, even if some were intentionally skipped due to what userfunc returned. Returns <0 if an error occurred during iteration, including if userfunc returned JSON_C_VISIT_RETURN_ERROR. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
926
doc/html/linkhash_8h.html
Normal file
@@ -0,0 +1,926 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/linkhash.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">linkhash.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__entry.html">lh_entry</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html">lh_table</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a032f1bd115df254dda325437203ce5fb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">LH_PRIME</a>   0x9e370001UL</td></tr>
|
||||||
|
<tr class="separator:a032f1bd115df254dda325437203ce5fb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a66b61772c29d85eb52b697e0b0dc0aaf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">LH_LOAD_FACTOR</a>   0.66</td></tr>
|
||||||
|
<tr class="separator:a66b61772c29d85eb52b697e0b0dc0aaf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a93fad7f8ae44575dc89c9567859972d2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">LH_EMPTY</a>   (void *)-1</td></tr>
|
||||||
|
<tr class="separator:a93fad7f8ae44575dc89c9567859972d2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac69428f2de0a6fb080b6fb373d506aa7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">LH_FREED</a>   (void *)-2</td></tr>
|
||||||
|
<tr class="separator:ac69428f2de0a6fb080b6fb373d506aa7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac32e80138c5be6dd9b0483a9cbcc8799"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">JSON_C_STR_HASH_DFLT</a>   0</td></tr>
|
||||||
|
<tr class="separator:ac32e80138c5be6dd9b0483a9cbcc8799"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a62316f34fd42941b97a8e9a6b6e68faa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">JSON_C_STR_HASH_PERLLIKE</a>   1</td></tr>
|
||||||
|
<tr class="separator:a62316f34fd42941b97a8e9a6b6e68faa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad7dd67da915065dce2c6f44cb03e2d82"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">lh_foreach</a>(table, entry)   for (entry = table->head; entry; entry = entry->next)</td></tr>
|
||||||
|
<tr class="separator:ad7dd67da915065dce2c6f44cb03e2d82"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:abcbb0df08b4976d0649b826b6bacfca1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">lh_foreach_safe</a>(table, entry, tmp)   for (entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)</td></tr>
|
||||||
|
<tr class="separator:abcbb0df08b4976d0649b826b6bacfca1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7579ce28b8366fc9b8656f14270aa3aa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a7579ce28b8366fc9b8656f14270aa3aa">lh_entry_k</a>(entry)   _LH_UNCONST((entry)->k)</td></tr>
|
||||||
|
<tr class="separator:a7579ce28b8366fc9b8656f14270aa3aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a0d4052ccfd8c5d351a9c1d3ba07671b3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a0d4052ccfd8c5d351a9c1d3ba07671b3">lh_entry_v</a>(entry)   _LH_UNCONST((entry)->v)</td></tr>
|
||||||
|
<tr class="separator:a0d4052ccfd8c5d351a9c1d3ba07671b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:a671553d0ee3c2a123190ba0f8ed2b635"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> )(struct <a class="el" href="structlh__entry.html">lh_entry</a> *e)</td></tr>
|
||||||
|
<tr class="separator:a671553d0ee3c2a123190ba0f8ed2b635"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a38bae27995dcfb6ee3fb109a9be229b2"><td class="memItemLeft" align="right" valign="top">typedef unsigned long( </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a> )(const void *k)</td></tr>
|
||||||
|
<tr class="separator:a38bae27995dcfb6ee3fb109a9be229b2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a91fd85fc81b0c7c83c62f00e84729091"><td class="memItemLeft" align="right" valign="top">typedef int( </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a> )(const void *k1, const void *k2)</td></tr>
|
||||||
|
<tr class="separator:a91fd85fc81b0c7c83c62f00e84729091"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a766e90057496fc6712d6be0da180a21f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structlh__table.html">lh_table</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">lh_table</a></td></tr>
|
||||||
|
<tr class="separator:a766e90057496fc6712d6be0da180a21f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:ac8e1d61af44d9c0824d8c7980385bcd3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">json_global_set_string_hash</a> (const int h)</td></tr>
|
||||||
|
<tr class="separator:ac8e1d61af44d9c0824d8c7980385bcd3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9c4f8a71dbe4d3390d9f7adb331beb0e"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__table.html">lh_table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a9c4f8a71dbe4d3390d9f7adb331beb0e">lh_table_new</a> (int size, <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> *free_fn, <a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a> *hash_fn, <a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a> *equal_fn)</td></tr>
|
||||||
|
<tr class="separator:a9c4f8a71dbe4d3390d9f7adb331beb0e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6bf630754affe92612639542a6c49c3f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__table.html">lh_table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a6bf630754affe92612639542a6c49c3f">lh_kchar_table_new</a> (int size, <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> *free_fn)</td></tr>
|
||||||
|
<tr class="separator:a6bf630754affe92612639542a6c49c3f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af8108563b961dbf5471fe2c0e51f40a5"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__table.html">lh_table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#af8108563b961dbf5471fe2c0e51f40a5">lh_kptr_table_new</a> (int size, <a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> *free_fn)</td></tr>
|
||||||
|
<tr class="separator:af8108563b961dbf5471fe2c0e51f40a5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a81653acf740cf8c9fe672e6cd16df0cf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">lh_table_free</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t)</td></tr>
|
||||||
|
<tr class="separator:a81653acf740cf8c9fe672e6cd16df0cf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a86c0cd547be1e2c2486a73bd58e1352c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">lh_table_insert</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, const void *v)</td></tr>
|
||||||
|
<tr class="separator:a86c0cd547be1e2c2486a73bd58e1352c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a4558a9347a422e03a15b0b7a29b82dc3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">lh_table_insert_w_hash</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, const void *v, const unsigned long h, const unsigned opts)</td></tr>
|
||||||
|
<tr class="separator:a4558a9347a422e03a15b0b7a29b82dc3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad3b6ca2d967a6c3021ee6c39e014a918"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ad3b6ca2d967a6c3021ee6c39e014a918">lh_table_lookup_entry</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k)</td></tr>
|
||||||
|
<tr class="separator:ad3b6ca2d967a6c3021ee6c39e014a918"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a59ecaf34ef59280952f4459b2de63677"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a59ecaf34ef59280952f4459b2de63677">lh_table_lookup_entry_w_hash</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, const unsigned long h)</td></tr>
|
||||||
|
<tr class="separator:a59ecaf34ef59280952f4459b2de63677"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a81c270bb0dd9d5c8a3e7ae20bc4d67f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">lh_table_lookup_ex</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k, void **v)</td></tr>
|
||||||
|
<tr class="separator:a81c270bb0dd9d5c8a3e7ae20bc4d67f3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae5885a71c3457190fb1dc2d6e20dde3b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">lh_table_delete_entry</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, struct <a class="el" href="structlh__entry.html">lh_entry</a> *e)</td></tr>
|
||||||
|
<tr class="separator:ae5885a71c3457190fb1dc2d6e20dde3b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2fed2c78f70d229edb2d00775ffe593c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">lh_table_delete</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, const void *k)</td></tr>
|
||||||
|
<tr class="separator:a2fed2c78f70d229edb2d00775ffe593c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ac9ba631c91fe80fb905f04c7cd526f2b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">lh_table_length</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t)</td></tr>
|
||||||
|
<tr class="separator:ac9ba631c91fe80fb905f04c7cd526f2b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a30c8414e31aeee7669acc938116d933f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">lh_table_resize</a> (struct <a class="el" href="structlh__table.html">lh_table</a> *t, int new_size)</td></tr>
|
||||||
|
<tr class="separator:a30c8414e31aeee7669acc938116d933f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a2caa52ae1863bd073444f3737138a4db">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="ac32e80138c5be6dd9b0483a9cbcc8799"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_STR_HASH_DFLT   0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>default string hash function </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a62316f34fd42941b97a8e9a6b6e68faa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_C_STR_HASH_PERLLIKE   1</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>perl-like string hash function </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a93fad7f8ae44575dc89c9567859972d2"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_EMPTY   (void *)-1</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>sentinel pointer value for empty slots </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a7579ce28b8366fc9b8656f14270aa3aa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_entry_k</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry</td><td>)</td>
|
||||||
|
<td>   _LH_UNCONST((entry)->k)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return a non-const version of <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry.k</a>.</p>
|
||||||
|
<p><a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry.k</a> is const to indicate and help ensure that linkhash itself doesn't modify it, but callers are allowed to do what they want with it. See also <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry.k_is_constant</a> </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a0d4052ccfd8c5d351a9c1d3ba07671b3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_entry_v</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry</td><td>)</td>
|
||||||
|
<td>   _LH_UNCONST((entry)->v)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Return a non-const version of <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry.v</a>.</p>
|
||||||
|
<p>v is const to indicate and help ensure that linkhash itself doesn't modify it, but callers are allowed to do what they want with it. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad7dd67da915065dce2c6f44cb03e2d82"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_foreach</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">table, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   for (entry = table->head; entry; entry = entry->next)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convenience list iterator. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="abcbb0df08b4976d0649b826b6bacfca1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define lh_foreach_safe</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">table, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">entry, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">tmp </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   for (entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>lh_foreach_safe allows calling of deletion routine while iterating.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">table</td><td>a struct <a class="el" href="structlh__table.html">lh_table</a> * to iterate over </td></tr>
|
||||||
|
<tr><td class="paramname">entry</td><td>a struct <a class="el" href="structlh__entry.html">lh_entry</a> * variable to hold each element </td></tr>
|
||||||
|
<tr><td class="paramname">tmp</td><td>a struct <a class="el" href="structlh__entry.html">lh_entry</a> * variable to hold a temporary pointer to the next element </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac69428f2de0a6fb080b6fb373d506aa7"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_FREED   (void *)-2</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>sentinel pointer value for freed slots </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a66b61772c29d85eb52b697e0b0dc0aaf"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_LOAD_FACTOR   0.66</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The fraction of filled hash buckets until an insert will cause the table to be resized. This can range from just above 0 up to 1.0. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a032f1bd115df254dda325437203ce5fb"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define LH_PRIME   0x9e370001UL</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>golden prime used in hash functions </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="a671553d0ee3c2a123190ba0f8ed2b635"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef void( lh_entry_free_fn)(struct <a class="el" href="structlh__entry.html">lh_entry</a> *e)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>callback function prototypes </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a91fd85fc81b0c7c83c62f00e84729091"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef int( lh_equal_fn)(const void *k1, const void *k2)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>callback function prototypes </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a38bae27995dcfb6ee3fb109a9be229b2"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef unsigned long( lh_hash_fn)(const void *k)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>callback function prototypes </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a766e90057496fc6712d6be0da180a21f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structlh__table.html">lh_table</a> <a class="el" href="structlh__table.html">lh_table</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="ac8e1d61af44d9c0824d8c7980385bcd3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_global_set_string_hash </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const int </td>
|
||||||
|
<td class="paramname"><em>h</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This function sets the hash function to be used for strings. Must be one of the JSON_C_STR_HASH_* values. </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>0 - ok, -1 if parameter was invalid </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a6bf630754affe92612639542a6c49c3f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__table.html">lh_table</a>* lh_kchar_table_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>size</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convenience function to create a new linkhash table with char keys.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">size</td><td>initial table size. </td></tr>
|
||||||
|
<tr><td class="paramname">free_fn</td><td>callback function used to free memory for entries. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="af8108563b961dbf5471fe2c0e51f40a5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__table.html">lh_table</a>* lh_kptr_table_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>size</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Convenience function to create a new linkhash table with ptr keys.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">size</td><td>initial table size. </td></tr>
|
||||||
|
<tr><td class="paramname">free_fn</td><td>callback function used to free memory for entries. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a2fed2c78f70d229edb2d00775ffe593c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_delete </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Delete a record from the table.</p>
|
||||||
|
<p>If a callback free function is provided then it is called for the for the item being deleted. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to delete from. </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to delete. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>0 if the item was deleted. </dd>
|
||||||
|
<dd>
|
||||||
|
-1 if it was not found. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae5885a71c3457190fb1dc2d6e20dde3b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_delete_entry </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td>
|
||||||
|
<td class="paramname"><em>e</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Delete a record from the table.</p>
|
||||||
|
<p>If a callback free function is provided then it is called for the for the item being deleted. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to delete from. </td></tr>
|
||||||
|
<tr><td class="paramname">e</td><td>a pointer to the entry to delete. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>0 if the item was deleted. </dd>
|
||||||
|
<dd>
|
||||||
|
-1 if it was not found. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a81653acf740cf8c9fe672e6cd16df0cf"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void lh_table_free </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Free a linkhash table.</p>
|
||||||
|
<p>If a lh_entry_free_fn callback free function was provided then it is called for all entries in the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>table to free. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a86c0cd547be1e2c2486a73bd58e1352c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_insert </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>v</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Insert a record into the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to insert into. </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to insert. </td></tr>
|
||||||
|
<tr><td class="paramname">v</td><td>a pointer to the value to insert.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, <code>0</code> is returned. On error, a negative value is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a4558a9347a422e03a15b0b7a29b82dc3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_insert_w_hash </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>v</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const unsigned long </td>
|
||||||
|
<td class="paramname"><em>h</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const unsigned </td>
|
||||||
|
<td class="paramname"><em>opts</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Insert a record into the table using a precalculated key hash.</p>
|
||||||
|
<p>The hash h, which should be calculated with lh_get_hash() on k, is provided by the caller, to allow for optimization when multiple operations with the same key are known to be needed.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to insert into. </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to insert. </td></tr>
|
||||||
|
<tr><td class="paramname">v</td><td>a pointer to the value to insert. </td></tr>
|
||||||
|
<tr><td class="paramname">h</td><td>hash value of the key to insert </td></tr>
|
||||||
|
<tr><td class="paramname">opts</td><td>if set to JSON_C_OBJECT_KEY_IS_CONSTANT, sets <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry.k_is_constant</a> so t's free function knows to avoid freeing the key. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ac9ba631c91fe80fb905f04c7cd526f2b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_length </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad3b6ca2d967a6c3021ee6c39e014a918"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_table_lookup_entry </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Lookup a record in the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to lookup </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>a pointer to the record structure of the value or NULL if it does not exist. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a59ecaf34ef59280952f4459b2de63677"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_table_lookup_entry_w_hash </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const unsigned long </td>
|
||||||
|
<td class="paramname"><em>h</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Lookup a record in the table using a precalculated key hash.</p>
|
||||||
|
<p>The hash h, which should be calculated with lh_get_hash() on k, is provided by the caller, to allow for optimization when multiple operations with the same key are known to be needed.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">h</td><td>hash value of the key to lookup </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>a pointer to the record structure of the value or NULL if it does not exist. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a81c270bb0dd9d5c8a3e7ae20bc4d67f3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> lh_table_lookup_ex </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>k</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">void ** </td>
|
||||||
|
<td class="paramname"><em>v</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Lookup a record in the table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>the table to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">k</td><td>a pointer to the key to lookup </td></tr>
|
||||||
|
<tr><td class="paramname">v</td><td>a pointer to a where to store the found value (set to NULL if it doesn't exist). </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>whether or not the key was found </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9c4f8a71dbe4d3390d9f7adb331beb0e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__table.html">lh_table</a>* lh_table_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>size</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>free_fn</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>hash_fn</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a> * </td>
|
||||||
|
<td class="paramname"><em>equal_fn</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Create a new linkhash table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">size</td><td>initial table size. The table is automatically resized although this incurs a performance penalty. </td></tr>
|
||||||
|
<tr><td class="paramname">free_fn</td><td>callback function used to free memory for entries when lh_table_free or lh_table_delete is called. If NULL is provided, then memory for keys and values must be freed by the caller. </td></tr>
|
||||||
|
<tr><td class="paramname">hash_fn</td><td>function used to hash keys. 2 standard ones are defined: lh_ptr_hash and lh_char_hash for hashing pointer values and C strings respectively. </td></tr>
|
||||||
|
<tr><td class="paramname">equal_fn</td><td>comparison function to compare keys. 2 standard ones defined: lh_ptr_hash and lh_char_hash for comparing pointer values and C strings respectively. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, a pointer to the new linkhash table is returned. On error, a null pointer is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a30c8414e31aeee7669acc938116d933f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table_resize </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structlh__table.html">lh_table</a> * </td>
|
||||||
|
<td class="paramname"><em>t</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>new_size</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Resizes the specified table.</p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">t</td><td>Pointer to table to resize. </td></tr>
|
||||||
|
<tr><td class="paramname">new_size</td><td>New table size. Must be positive.</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>On success, <code>0</code> is returned. On error, a negative value is returned. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
51
doc/html/md_README.html
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: README</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">README </div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"></div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
512
doc/html/md_issues_closed_for_0.html
Normal file
@@ -0,0 +1,512 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: issues_closed_for_0</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">issues_closed_for_0 </div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><p>This list was created with: </p>
|
||||||
|
<pre class="fragment">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
|
||||||
|
sed -e's,^\[ *\(.*\)\](https://api.github.com/.*/\([0-9].*\)),[Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md
|
||||||
|
#... manual editing ...
|
||||||
|
</pre><hr/>
|
||||||
|
<p>Issues and Pull Requests closed for the 0.13 release (since commit f84d9c, the 0.12 branch point, 2014-04-10)</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/61">Issue #61</a> - Make <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object_object_add()</a> indicate success or failure, test fix \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/113">Issue #113</a> - Build fixes (make dist and make distcheck) \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/124">Issue #124</a> - Fixing build \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/125">Issue #125</a> - Fix compile error(variable size set but not used) on g++4.6 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/126">Issue #126</a> - Removed unused size variable. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/127">Issue #127</a> - remove unused <code>size</code> variable \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/128">Issue #128</a> - Remove unused variable from json_tokenizer.c \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/130">Issue #130</a> - Failed to compile under Ubuntu 13.10 32bit \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/131">Issue #131</a> - undefined symbol: __sync_val_compare_and_swap_4 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/132">Issue #132</a> - Remove unused variable 'size' \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/133">Issue #133</a> - Update and rename README to <a class="el" href="README_8md.html">README.md</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/134">Issue #134</a> - Must remove variable size... \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/135">Issue #135</a> - bits.h uses removed json_tokener_errors[error] \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/136">Issue #136</a> - Error when running make check \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/137">Issue #137</a> - config.h.in should not be in git \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/138">Issue #138</a> - Can't build on RHEL 6.5 due to dependency on automake-1.14 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/140">Issue #140</a> - Code bug in random_test.c evaluating same expression twice \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/141">Issue #141</a> - Removed duplicate check in random_seed test - bug #140 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/142">Issue #142</a> - Please undeprecate json_object_object_get \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/144">Issue #144</a> - Introduce json_object_from_fd \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/145">Issue #145</a> - Handle % character properly \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/146">Issue #146</a> - TAGS rename \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/148">Issue #148</a> - Bump the soname \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/149">Issue #149</a> - SONAME bump \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/150">Issue #150</a> - Fix build using MinGW. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/151">Issue #151</a> - Remove json_type enum trailing comma \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/152">Issue #152</a> - error while compiling json-c library version 0.11 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/153">Issue #153</a> - improve doc for <a class="el" href="json__object_8h.html#ab7390c22baa1700d977c2af6b22d43a4">json_object_to_json_string()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/154">Issue #154</a> - double precision \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/155">Issue #155</a> - add bsearch for arrays \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/156">Issue #156</a> - Remove trailing whitespaces \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/157">Issue #157</a> - JSON-C shall not exit on calloc fail. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/158">Issue #158</a> - while using json-c 0.11, I am facing strange crash issue in json_object_put. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/159">Issue #159</a> - json_tokener.c compile error \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/160">Issue #160</a> - missing header file on windows?? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/161">Issue #161</a> - Is there a way to append to file? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/162">Issue #162</a> - json_util: add directory check for POSIX distros \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/163">Issue #163</a> - Fix Win32 build problems \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/164">Issue #164</a> - made it compile and link on Widnows (as static library) \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/165">Issue #165</a> - json_object_to_json_string_ext length \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/167">Issue #167</a> - Can't build on Windows with Visual Studio 2010 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/168">Issue #168</a> - Tightening the number parsing algorithm \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/169">Issue #169</a> - Doesn't compile on ubuntu 14.04, 64bit \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/170">Issue #170</a> - Generated files in repository \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/171">Issue #171</a> - Update configuration for VS2010 and win64 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/172">Issue #172</a> - Adding support for parsing octal numbers \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/173">Issue #173</a> - json_parse_int64 doesn't work correctly at illumos \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/174">Issue #174</a> - Adding JSON_C_TO_STRING_PRETTY_TAB flag \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/175">Issue #175</a> - make check fails 4 tests with overflows when built with ASAN \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/176">Issue #176</a> - Possible to delete an array element at a given idx ? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/177">Issue #177</a> - Fix compiler warnings \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/178">Issue #178</a> - Unable to compile on CentOS5 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/179">Issue #179</a> - Added array_list_del_idx and json_object_array_del_idx \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/180">Issue #180</a> - Enable silent build by default \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/181">Issue #181</a> - json_tokener_parse_ex accepts invalid JSON \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/182">Issue #182</a> - Link against libm when needed \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/183">Issue #183</a> - Apply compile warning fix to master branch \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/184">Issue #184</a> - Use only GCC-specific flags when compiling with GCC \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/185">Issue #185</a> - compile error \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/186">Issue #186</a> - Syntax error \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/187">Issue #187</a> - array_list_get_idx and negative indexes. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/188">Issue #188</a> - json_object_object_foreach warnings \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/189">Issue #189</a> - noisy json_object_from_file: error opening file \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/190">Issue #190</a> - warning: initialization discards const qualifier from pointer target type [enabled by default] \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/192">Issue #192</a> - json_tokener_parse accepts invalid JSON {"key": "value" , } \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/193">Issue #193</a> - Make serialization format of doubles configurable \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/194">Issue #194</a> - Add utility function for comparing json_objects \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/195">Issue #195</a> - Call uselocale instead of setlocale \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/196">Issue #196</a> - Performance improvements \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/197">Issue #197</a> - Time for a new release? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/198">Issue #198</a> - Fix possible memory leak and remove superfluous NULL checks before free() \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/199">Issue #199</a> - Fix build in Visual Studio \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/200">Issue #200</a> - Add build scripts for CI platforms \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/201">Issue #201</a> - disable forward-slash escaping? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/202">Issue #202</a> - Array with objects support \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/203">Issue #203</a> - Add source position/coordinates to API \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/204">Issue #204</a> - json-c/json.h not found \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/205">Issue #205</a> - json-c Compiled with Visual Studios \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/206">Issue #206</a> - what do i use in place of json_object_object_get? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/207">Issue #207</a> - Add support for property pairs directly added to arrays \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/208">Issue #208</a> - Performance enhancements (mainly) to <a class="el" href="json__object_8h.html#ab7390c22baa1700d977c2af6b22d43a4">json_object_to_json_string()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/209">Issue #209</a> - fix regression from 2d549662be832da838aa063da2efa78ee3b99668 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/210">Issue #210</a> - Use size_t for arrays \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/211">Issue #211</a> - Atomic updates for the refcount \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/212">Issue #212</a> - Refcount doesn't work between threads \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/213">Issue #213</a> - fix to compile with microsoft visual c++ 2010 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/214">Issue #214</a> - Some non-GNU systems support __sync_val_compare_and_swap \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/215">Issue #215</a> - Build json-c for window 64 bit. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/216">Issue #216</a> - configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/217">Issue #217</a> - Checking for functions in float.h \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/218">Issue #218</a> - Use a macro to indicate C99 to the compiler \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/219">Issue #219</a> - Fix various potential null ptr deref and int32 overflows \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/220">Issue #220</a> - Add utility function for comparing json_objects \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/221">Issue #221</a> - JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/222">Issue #222</a> - Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/223">Issue #223</a> - Clarify json_object_get_string documentation of NULL handling & return \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/224">Issue #224</a> - json_tokener.c - all warnings being treated as errors \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/225">Issue #225</a> - Hi, will you support clib as a "registry"? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/227">Issue #227</a> - Bump SOVERSION to 3 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/228">Issue #228</a> - avoid double slashes from json \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/229">Issue #229</a> - configure fails: checking size of size_t... configure: error: cannot determine a size for size_t \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/230">Issue #230</a> - Use stdint.h to check for size_t size \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/231">Issue #231</a> - Fix size_t size check for first-time builds \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/232">Issue #232</a> - tests/tests1: fix printf format for size_t arguments \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/233">Issue #233</a> - Include stddef.h in <a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/234">Issue #234</a> - Add public API to use userdata independently of custom serializer \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/235">Issue #235</a> - Undefined symbols Error for architecture x86_64 on Mac \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/236">Issue #236</a> - Building a project which uses json-c with flag -Wcast-qual causes compilation errors \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/237">Issue #237</a> - handle escaped utf-8 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/238">Issue #238</a> - linkhash.c: optimised the table_free path \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/239">Issue #239</a> - initialize null terminator of new printbuf \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/240">Issue #240</a> - Compile error: Variable set but not used \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/241">Issue #241</a> - getting error in date string 19\/07\/2016, fixed for error 19/07/2016 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/242">Issue #242</a> - json_tokener_parse error \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/243">Issue #243</a> - Fix #165 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/244">Issue #244</a> - Error while compiling source from RHEL5, could you please help me to fix this \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/245">Issue #245</a> - json-c compile in window xp \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/246">Issue #246</a> - Mac: uselocale failed to build \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/247">Issue #247</a> - json_object_array_del_idx function has segment fault error? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/248">Issue #248</a> - Minor changes in C source code \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/249">Issue #249</a> - Improving README \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/250">Issue #250</a> - Improving .gitignore \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/251">Issue #251</a> - Adding a file for EditorConfig \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/252">Issue #252</a> - Very minor changes not related to C source code \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/253">Issue #253</a> - Adding a test with cppcheck for Travis CI \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/254">Issue #254</a> - Very minor changes to some tests \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/255">Issue #255</a> - Minor changes in C source code \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/256">Issue #256</a> - Mailing list dead? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/257">Issue #257</a> - Defining a coding style \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/258">Issue #258</a> - Enable CI services \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/259">Issue #259</a> - Fails to parse valid json \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/260">Issue #260</a> - Adding an object to itself \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/261">Issue #261</a> - Lack of proper documentation \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/262">Issue #262</a> - Add Cmakefile and fix compiler warning. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/263">Issue #263</a> - Compiler Warnings with VS2015 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/264">Issue #264</a> - successed in simple test while failed in my project \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/265">Issue #265</a> - Conformance report for reference \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/266">Issue #266</a> - crash perhaps related to reference counting \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/267">Issue #267</a> - Removes me as Win32 maintainer, because I'm not. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/268">Issue #268</a> - Documentation of json_object_to_json_string gives no information about memory management \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/269">Issue #269</a> - json_object_<type>_set(json_object *o,<type> value) API for value setting in json object private structure \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/270">Issue #270</a> - new API json_object_new_double_f(doubel d,const char * fmt); \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/271">Issue #271</a> - Cannot compile using CMake on macOS \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/273">Issue #273</a> - fixed wrong object name in json_object_all_values_equal \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/274">Issue #274</a> - Support for 64 bit pointers on Windows \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/275">Issue #275</a> - Out-of-bounds read in json_tokener_parse_ex \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/276">Issue #276</a> - ./configure for centos release 6.7(final) failure \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/277">Issue #277</a> - Json object set xxx \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/278">Issue #278</a> - Serialization of double with no fractional component drops trailing zero \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/279">Issue #279</a> - Segmentation fault in <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">array_list_length()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/280">Issue #280</a> - Should json_object_array_get_idx check whether input obj is array? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/281">Issue #281</a> - how to pretty print json-c? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/282">Issue #282</a> - ignore temporary files \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/283">Issue #283</a> - json_pointer: add first revision based on RFC 6901 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/284">Issue #284</a> - Resusing <a class="el" href="structjson__tokener.html">json_tokener</a> object \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/285">Issue #285</a> - Revert "compat/strdup.h: move common compat check for strdup() to own \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/286">https://github.com/json-c/json-c/issues/286</a>">Issue #286</a> - json_tokener_parse_ex() returns json_tokener_continue on zero-length string \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/287">https://github.com/json-c/json-c/issues/287</a>">Issue #287</a> - json_pointer: extend setter & getter with printf() style arguments \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/288">https://github.com/json-c/json-c/issues/288</a>">Issue #288</a> - Fix _GNU_SOURCE define for vasprintf \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/289">https://github.com/json-c/json-c/issues/289</a>">Issue #289</a> - bugfix: floating point representaion without fractional part \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/290">https://github.com/json-c/json-c/issues/290</a>">Issue #290</a> - duplicate an json_object \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/291">https://github.com/json-c/json-c/issues/291</a>">Issue #291</a> - isspace assert error \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/292">https://github.com/json-c/json-c/issues/292</a>">Issue #292</a> - configure error "./configure: line 13121: syntax error near unexpected token `-Wall'" \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/293">https://github.com/json-c/json-c/issues/293</a>">Issue #293</a> - how to make with bitcode for ios \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/294">https://github.com/json-c/json-c/issues/294</a>">Issue #294</a> - Adding UTF-8 validation. Fixes #122 \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/295">https://github.com/json-c/json-c/issues/295</a>">Issue #295</a> - cross compile w/ mingw \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/296">https://github.com/json-c/json-c/issues/296</a>">Issue #296</a> - Missing functions header in json_object.h \
|
||||||
|
* <a href="<a href="https://github.com/json-c/json-c/issues/297">https://github.com/json-c/json-c/issues/297</a>">Issue #297</a> - could not parse string to Json object? Like string str=\"helloworld;E\test\log\;end" \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/298">Issue #298</a> - Building using CMake doesn't work \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/299">Issue #299</a> - Improve json_object -> string performance \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/300">Issue #300</a> - Running tests with MinGW build \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/301">Issue #301</a> - How to deep copy json_object in C++ ? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/302">Issue #302</a> - json_tokener_parse_ex doesn't parse JSON values \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/303">Issue #303</a> - fix doc in tokener header file \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/304">Issue #304</a> - (.text+0x72846): undefined reference to `is_error' \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/305">Issue #305</a> - Fix compilation without C-99 option \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/306">Issue #306</a> - ./configure: line 12748 -error=deprecated-declarations \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/307">Issue #307</a> - Memory leak in json_tokener_parse \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/308">Issue #308</a> - AM_PROG_LIBTOOL not found on Linux \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/309">Issue #309</a> - GCC 7 reports various -Wimplicit-fallthrough= errors \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/310">Issue #310</a> - Add FALLTHRU comment to handle GCC7 warnings. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/311">Issue #311</a> - Fix error C3688 when compiling on Visual Studio 2015 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/312">Issue #312</a> - Fix CMake Build process improved for MinGW and MSYS2 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/313">Issue #313</a> - VERBOSE=1 make check; tests/test_util_file.test.c and tests/test_util_file.expected out of sync \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/315">Issue #315</a> - Passing -1 to json_tokener_parse_ex is possibly unsafe \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/316">Issue #316</a> - Memory Returned by json_object_to_json_string not freed \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/317">Issue #317</a> - json_object_get_string gives segmentation error \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/318">Issue #318</a> - PVS-Studio static analyzer analyze results \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/319">Issue #319</a> - Windows: Fix dynamic library build with Visual Studio \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/320">Issue #320</a> - Can't compile in Mac OS X El Capitan \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/321">Issue #321</a> - build,cmake: fix vasprintf implicit definition and generate both static & shared libs \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/322">Issue #322</a> - can not link with libjson-c.a \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/323">Issue #323</a> - implicit fallthrough detected by gcc 7.1 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/324">Issue #324</a> - JsonPath like function? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/325">Issue #325</a> - Fix stack buffer overflow in json_object_double_to_json_string_format() \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/327">Issue #327</a> - why json-c so hard to compile \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/328">Issue #328</a> - json_object: implement <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object_deep_copy()</a> function \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/329">Issue #329</a> - build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/330">Issue #330</a> - tests: symlink basic tests to a single file that has the common code \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/331">Issue #331</a> - Safe use of snprintf() / vsnprintf() for Visual studio, and thread-safety fix \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/332">Issue #332</a> - Valgrind: invalid read after json_object_array_del_idx. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/333">Issue #333</a> - Replace obsolete AM_PROG_LIBTOOL \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/335">Issue #335</a> - <a class="el" href="README_8md.html">README.md</a>: show build status tag from travis-ci.org \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/336">Issue #336</a> - tests: fix tests in travis-ci.org \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/337">Issue #337</a> - Synchronize "potentially racy" random seed in lh_char_hash() \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/338">Issue #338</a> - implement <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object_int_inc(json_object *, int64_t)</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/339">Issue #339</a> - Json schema validation \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/340">Issue #340</a> - strerror_override: add extern "C" and JSON_EXPORT specifiers for Visual C++ compilers \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/341">Issue #341</a> - character "/" parse as "\/" \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/342">Issue #342</a> - No such file or directory "/usr/include/json.h" \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/343">Issue #343</a> - Can't parse json \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/344">Issue #344</a> - Fix Mingw build \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/345">Issue #345</a> - Fix make dist and make distcheck \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/346">Issue #346</a> - Clamp double to int32 when narrowing in json_object_get_int. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/347">Issue #347</a> - MSVC linker error json_c_strerror \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/348">Issue #348</a> - why \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/349">Issue #349</a> - <code>missing</code> is missing? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/350">Issue #350</a> - stderror-override and disable-shared \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/351">Issue #351</a> - SIZE_T_MAX redefined from limits.h \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/352">Issue #352</a> - <code>INSTALL</code> overrides an automake script. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/353">Issue #353</a> - Documentation issues \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/354">Issue #354</a> - Fixes #351 #352 #353 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/355">Issue #355</a> - 1.make it can been compiled with Visual Studio 2010 by modify the CMakeList.txt and others \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/356">Issue #356</a> - VS2008 test test_util_file.cpp err! \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/357">Issue #357</a> - __json_c_strerror incompatibility with link-time optimization \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/358">Issue #358</a> - make issue \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/359">Issue #359</a> - update CMakeLists.txt for compile with visual studio at least 2010 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/360">Issue #360</a> - Use strtoll() to parse ints \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/361">Issue #361</a> - Fix double to int cast overflow in json_object_get_int64. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/362">Issue #362</a> - CMake Package Config \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/363">Issue #363</a> - Issue #338, add json_object_add_int functions \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/364">Issue #364</a> - Cmake is Errir \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/365">Issue #365</a> - added fallthrough for gcc7 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/366">Issue #366</a> - how to check the json string,crash! \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/367">Issue #367</a> - Is json-c support "redirect" semantic? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/368">Issue #368</a> - Add examples \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/369">Issue #369</a> - How to build json-c library for android? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/370">Issue #370</a> - Compiling using clang-cl \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/371">Issue #371</a> - Invalid parsing for Infinity with json-c 0.12 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/372">Issue #372</a> - Json-c 0.12: Fixed Infinity bug \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/373">Issue #373</a> - build: fix build on appveyor CI \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/374">Issue #374</a> - Undefined symbols for architecture x86_64: \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/375">Issue #375</a> - what would happened when json_object_object_add add the same key \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/376">Issue #376</a> - Eclipse error \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/377">Issue #377</a> - on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/378">Issue #378</a> - Eclipse: library (libjson-c) not found, but configured \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/379">Issue #379</a> - error: this statement may fall through [-Werror=implicit-fallthrough=] \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/380">Issue #380</a> - Build on Windows \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/381">Issue #381</a> - Fix makedist \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/382">Issue #382</a> - Memory leak for json_tokener_parse_ex for version 0.12.1 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/383">Issue #383</a> - Fix a compiler warning. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/384">Issue #384</a> - Fix a VS 2015 compiler warnings. \</li>
|
||||||
|
</ul>
|
||||||
|
<p>This list was created with: </p>
|
||||||
|
<pre class="fragment">curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2017-12-07+created%3A<2020-04-17&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>2017-12-07+created%3A<2020-04-17&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>2017-12-07+created%3A<2020-04-17&sort=created&order=asc&per_page=400&page=3" > issues3.out
|
||||||
|
jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md
|
||||||
|
sed -e's,^\[ *\(.*\)\](https://api.github.com/.*/\([0-9].*\)),[Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md
|
||||||
|
#... manual editing ...
|
||||||
|
</pre><hr/>
|
||||||
|
<p>Issues and Pull Requests closed for the 0.14 release (since commit d582d3a(2017-12-07) to a911439(2020-04-17))</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/122">Issue #122</a> - Add utf-8 validation when parsing strings. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/139">Issue #139</a> - json_object_from_file cannot accept max_depth \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/143">Issue #143</a> - RFE / enhancement for full 64-bit signed/unsigned support \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/147">Issue #147</a> - Please introduce soname bump if API changed \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/166">Issue #166</a> - Need a way to specify nesting depth when opening JSON file \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/226">Issue #226</a> - There is no <a class="el" href="json__object_8h.html#a29e23b5be729c679960242b3b81bcde0">json_object_new_null()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/314">Issue #314</a> - new release ? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/326">Issue #326</a> - Please extend api json_object_get_uint64 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/334">Issue #334</a> - Switch json-c builds to use CMake \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/386">Issue #386</a> - Makefile: Add ACLOCAL_AMFLAGS \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/387">Issue #387</a> - doc: Use other doxygen feature to specify mainpage \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/388">Issue #388</a> - json_object: Add size_t json_object_sizeof() \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/389">Issue #389</a> - json_object: Avoid double free (and thus a segfault) when ref_count gets < 0 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/390">Issue #390</a> - json_object: Add const size_t json_c_object_sizeof() \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/391">Issue #391</a> - Fix non-GNUC define for JSON_C_CONST_FUNCTION \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/392">Issue #392</a> - json_object: Avoid invalid free (and thus a segfault) when ref_count gets < 0 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/393">Issue #393</a> - json_object_private: Use unsigned 32-bit integer type for refcount \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/394">Issue #394</a> - Problem serializing double \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/395">Issue #395</a> - Key gets modified if it contains "\" \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/396">Issue #396</a> - Build failure with no threads uClibc toolchain \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/397">Issue #397</a> - update json object with key. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/398">Issue #398</a> - Build failed. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/399">Issue #399</a> - Avoid uninitialized variable warnings \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/400">Issue #400</a> - How to generate static lib (.a) \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/401">Issue #401</a> - Warnings with Valgrind \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/402">Issue #402</a> - Add fuzzers from OSS-Fuzz \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/403">Issue #403</a> - Segmentation fault when double quotes is used \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/404">Issue #404</a> - valgrind: memory leak \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/405">Issue #405</a> - Missing API to determine an object is empty \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/406">Issue #406</a> - Undefine NDEBUG for tests \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/407">Issue #407</a> - json_tokener_parse is crash \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/408">Issue #408</a> - bug in array_list_del_idx when <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">array_list_length()</a>==1 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/410">Issue #410</a> - Fixed typos \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/411">Issue #411</a> - Crash- signal SIGSEGV, Segmentation fault. ../sysdeps/x86_64/strlen.S: No such file or directory. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/412">Issue #412</a> - json_type changes during inter process communication. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/413">Issue #413</a> - how to read object of type <code>json_object *</code> in c++ \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/414">Issue #414</a> - [Question] How JSON-c stores the serialized data in memory? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/415">Issue #415</a> - Resolve windows name conflict \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/416">Issue #416</a> - segmentation fault in json_tokener_parse \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/417">Issue #417</a> - json_tokener_parse json_object_object_get_ex with string value which is json string \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/418">Issue #418</a> - json_object_from_* return value documented incorrectly \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/419">Issue #419</a> - Suggestion: document (and define) that <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a> accepts NULL pointer to object \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/420">Issue #420</a> - arraylist: Fixed names of parameters for callback function \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/421">Issue #421</a> - install <a class="el" href="json__object__iterator_8h.html" title="An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike json_object_object_foreach() and json_object_object_foreachC(), this avoids the need to expose json-c internals like lh_entry.">json_object_iterator.h</a> header file \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/422">Issue #422</a> - <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object_get_double()</a> does not set errno when there is no valid conversion \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/423">Issue #423</a> - memory leak \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/424">Issue #424</a> - Parse string contains "\" or "/" errors \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/425">Issue #425</a> - what this is? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/426">Issue #426</a> - __deprecated not supported on clang. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/427">Issue #427</a> - CMake: builds involving this target will not be correct \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/430">Issue #430</a> - <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object_object_del()</a> and Segmentation fault \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/431">Issue #431</a> - cmake: Bump required version \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/432">Issue #432</a> - The real CMake support. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/433">Issue #433</a> - The real CMake support. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/434">Issue #434</a> - The real CMake support \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/435">Issue #435</a> - <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object_object_del()</a> segmentation fault \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/436">Issue #436</a> - Improve pkgconfig setting \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/437">Issue #437</a> - Bad link in <a class="el" href="README_8md.html">README.md</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/438">Issue #438</a> - Bad link in README.html \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/439">Issue #439</a> - reserved identifier violation \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/440">Issue #440</a> - Use of angle brackets around file names for include statements \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/441">Issue #441</a> - fix c flag loss during cmake building \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/442">Issue #442</a> - error in configure file \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/443">Issue #443</a> - remove pretty spaces when using pretty tabs \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/444">Issue #444</a> - Document refcount of json_tokener_parse_ex return \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/445">Issue #445</a> - Add missing "make check" target to cmake config \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/446">Issue #446</a> - Forward slashes get escaped \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/448">Issue #448</a> - Buffer overflow in json-c \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/449">Issue #449</a> - Need of json_type_int64 returned by <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object_get_type()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/450">Issue #450</a> - Allow use json-c cmake as subproject \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/452">Issue #452</a> - Update <a class="el" href="README_8md.html">README.md</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/453">Issue #453</a> - Fixed misalignment in JSON string due to space after <br/>
|
||||||
|
being printed... \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/454">Issue #454</a> - json_object_private: save 8 bytes in struct json_object in 64-bit arc… \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/455">Issue #455</a> - index.html:fix dead link \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/456">Issue #456</a> - STYLE.txt:remove executable permissions \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/457">Issue #457</a> - .gitignore:add build directory \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/458">Issue #458</a> - <a class="el" href="README_8md.html">README.md</a>:fix dead "file.html" link \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/459">Issue #459</a> - README.html:fix link to Doxygen docs, remove WIN32 link \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/460">Issue #460</a> - No docs for <a class="el" href="json__object_8h.html#a778a1aa34a508d08daac3bdb83e24b52">json_object_new_string_len()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/461">Issue #461</a> - json_object.c:set errno in <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object_get_double()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/462">Issue #462</a> - <a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a>:document <a class="el" href="json__object_8h.html#a778a1aa34a508d08daac3bdb83e24b52">json_object_new_string_len()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/463">Issue #463</a> - please check newlocale api first argument valuse. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/465">Issue #465</a> - CMakeLists.txt doesn't contain <a class="el" href="json__object__iterator_8h.html" title="An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike json_object_object_foreach() and json_object_object_foreachC(), this avoids the need to expose json-c internals like lh_entry.">json_object_iterator.h</a> which <a class="el" href="json_8h.html" title="A convenience header that may be included instead of other individual ones.">json.h</a> includes \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/466">Issue #466</a> - configure:3610: error: C compiler cannot create executables \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/467">Issue #467</a> - Fix compiler warnings \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/468">Issue #468</a> - Fix compiler warnings \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/469">Issue #469</a> - Build under alpine with pecl install & docker-php-ext-enable? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/470">Issue #470</a> - cfuhash_foreach_remove doesn't upate cfuhash_num_entries \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/472">Issue #472</a> - Segmentation fault in json_object_iter_begin \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/473">Issue #473</a> - Convert ChangeLog to valid UTF-8 encoding. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/474">Issue #474</a> - Installation directories empty with CMake in pkg-config. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/475">Issue #475</a> - improvement proposal for json_object_object_foreach \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/477">Issue #477</a> - Hang/Crash with large strings \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/478">Issue #478</a> - json_object_get_string_len returns 0 when value is number \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/479">Issue #479</a> - I want to use it in iOS or Android but I can't compile \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/480">Issue #480</a> - json-c-0.12.1 failed making from source code \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/481">Issue #481</a> - error while loading shared libraries: libjson-c.so.4 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/482">Issue #482</a> - Error "double free or corruption" after free() \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/483">Issue #483</a> - compatible with rarely-used Chinese characters in GBK charset \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/485">Issue #485</a> - Install CMake module files \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/486">Issue #486</a> - In the case of negative double value, it is formatted without including ".0" \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/488">Issue #488</a> - Some APIs are not exported when built as shared lib on Win32 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/489">Issue #489</a> - Don't use -Werror by default \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/490">Issue #490</a> - do not compile with -Werror by default \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/491">Issue #491</a> - build: add option –disable-werror to configure \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/492">Issue #492</a> - lack some quick usage in readme \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/494">Issue #494</a> - Code generator? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/495">Issue #495</a> - <a class="el" href="README_8md.html">README.md</a>:fix 2 typos \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/496">Issue #496</a> - <a class="el" href="json__pointer_8h.html" title="JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree...">json_pointer.h</a>:suggest minor grammar improvement for pointer doc \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/497">Issue #497</a> - add common header for all tests \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/498">Issue #498</a> - double_serializer_test fails (with valgrind) \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/499">Issue #499</a> - .travis.yml:test on more recent clang and gcc versions \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/500">Issue #500</a> - test/Makefile.am:add missing deps for test1 and test2 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/501">Issue #501</a> - undefine NDEBUG for tests \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/502">Issue #502</a> - configure error \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/503">Issue #503</a> - json-c retuns OK when Invalid json string is passed \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/504">Issue #504</a> - json_object_put coredump \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/505">Issue #505</a> - Add vcpkg installation instructions \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/506">Issue #506</a> - Cannot parse more than one object \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/509">Issue #509</a> - Sometimes a double value is not serialized \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/510">Issue #510</a> - Bump so-name and improve CMake \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/511">Issue #511</a> - Reduce lines for better optimization \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/512">Issue #512</a> - Properly append to CMAKE_C_FLAGS string \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/513">Issue #513</a> - What does <code>userdata</code> means?And what is the case we can use it? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/514">Issue #514</a> - Json c 0.13 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/515">Issue #515</a> - Mies suomesta fixes segfaults and logic errors \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/516">Issue #516</a> - Lja slight mods \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/518">Issue #518</a> - Escape character "\\003\", get unexpected value \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/519">Issue #519</a> - Add test case obj token \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/520">Issue #520</a> - Adding type uint64 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/521">Issue #521</a> - build cmake windows 10 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/522">Issue #522</a> - update json_visit testcase \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/523">Issue #523</a> - update tsetcase for tokener_c \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/524">Issue #524</a> - Increase coverage \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/525">Issue #525</a> - update pointer test case \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/526">Issue #526</a> - Increased the test coverage of printbuf.c 82% to 92%. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/527">Issue #527</a> - Arraylist testcase \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/528">Issue #528</a> - Solve issue #108. Skip while parsing. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/529">Issue #529</a> - Increased the test coverage of json_c_version.c 0% to 100%. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/530">Issue #530</a> - validate utf-8 string before parse \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/531">Issue #531</a> - validate utf-8 string \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/532">Issue #532</a> - json_object_object_get_ex returning the original object \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/533">Issue #533</a> - Fix "make check" \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/535">Issue #535</a> - short string optimization: excessive array length \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/536">Issue #536</a> - add <a class="el" href="json__object_8h.html#a29e23b5be729c679960242b3b81bcde0">json_object_new_null()</a> \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/538">Issue #538</a> - update shortstring and arraylist parameters \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/539">Issue #539</a> - double serializes to the old value after set_double \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/541">Issue #541</a> - add coveralls auto tool to json-c \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/542">Issue #542</a> - add uint64 data to json-c \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/543">Issue #543</a> - Readme \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/544">Issue #544</a> - Increase distcheck target in cmake \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/545">Issue #545</a> - add doc target in cmake \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/546">Issue #546</a> - Add uninstall target in cmake \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/547">Issue #547</a> - modify json-c default build type, and fix up the assert() errors in t… \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/548">Issue #548</a> - Solve some problems about cmake build type (debug/release) \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/549">Issue #549</a> - lib installation issues \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/550">Issue #550</a> - Format codes with clang-format tool? \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/551">Issue #551</a> - Allow hexadecimal number format convention parsing \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/553">Issue #553</a> - Fix/clang ubsan \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/554">Issue #554</a> - RFC 8259 compatibility mode \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/555">Issue #555</a> - Format json-c with clang-format tool \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/556">Issue #556</a> - Fixes various Wreturn-type and Wimplicit-fallthrough errors on Mingw-w64 \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/557">Issue #557</a> - Add option in CMAKE to not build documentation \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/558">Issue #558</a> - modify the doc target message \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/559">Issue #559</a> - <a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_c_visit()</a> not exported on Windows \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/560">Issue #560</a> - error: implicit declaration of function '_strtoi64' \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/561">Issue #561</a> - add the badge in <a class="el" href="README_8md.html">README.md</a> and test the coveralls \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/562">Issue #562</a> - Bugfix and testcases supplements \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/563">Issue #563</a> - Changed order of calloc args to match stdlib \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/564">Issue #564</a> - Remove autogenerated files \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/565">Issue #565</a> - test the CI and ignore this PR \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/566">Issue #566</a> - add the <a class="el" href="json__types_8h.html" title="Basic types used in a few places in json-c, but you should include "json_object.h" instead...">json_types.h</a> to Makefile.am \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/567">Issue #567</a> - Install <a class="el" href="json__types_8h.html" title="Basic types used in a few places in json-c, but you should include "json_object.h" instead...">json_types.h</a> with autotools build as well. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/568">Issue #568</a> - Adding better support to MinGW \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/569">Issue #569</a> - Handling of -Bsymbolic-function in CMakeLists.txt is deficient \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/571">Issue #571</a> - CMake: Bump SONAME to 5. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/572">Issue #572</a> - Small fixes to CMakeLists \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/573">Issue #573</a> - Fix coveralls submission. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/574">Issue #574</a> - autogen.sh missing from repository \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/575">Issue #575</a> - Small cosmetics. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/576">Issue #576</a> - Test coverage for json_c_version. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/577">Issue #577</a> - Be verbose on failing json_c_version test. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/578">Issue #578</a> - CMake: Install pkgconfig file in proper location by default \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/579">Issue #579</a> - Enforce strict prototypes. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/580">Issue #580</a> - Fix CMake tests for enforced strict prototypes. \</li>
|
||||||
|
<li><a href="https://github.com/json-c/json-c/issues/581">Issue #581</a> - CMakeLists: do not enforce strict prototypes on Windows. \ </li>
|
||||||
|
</ul>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/nav_f.png
Normal file
|
After Width: | Height: | Size: 153 B |
BIN
doc/html/nav_g.png
Normal file
|
After Width: | Height: | Size: 95 B |
BIN
doc/html/nav_h.png
Normal file
|
After Width: | Height: | Size: 98 B |
BIN
doc/html/open.png
Normal file
|
After Width: | Height: | Size: 123 B |
58
doc/html/pages.html
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: Related Pages</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Related Pages</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all related documentation pages:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><a class="el" href="md_issues_closed_for_0.html" target="_self">issues_closed_for_0</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><a class="el" href="md_README.html" target="_self">README</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_2_" class="even"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><a class="el" href="deprecated.html" target="_self">Deprecated List</a></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
388
doc/html/printbuf_8h.html
Normal file
@@ -0,0 +1,388 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: /home/erh/json-c-0.15/printbuf.h File Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#nested-classes">Data Structures</a> |
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#typedef-members">Typedefs</a> |
|
||||||
|
<a href="#func-members">Functions</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">printbuf.h File Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Internal string buffer handing. Unless you're writing a json_object_to_json_string_fn implementation for use with <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object_set_serializer()</a> direct use of this is not recommended.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||||
|
Data Structures</h2></td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structprintbuf.html">printbuf</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||||
|
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6f3a4dc87fab41c37e3eff42f40dc346"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf_memappend_fast</a>(p, bufptr, bufsize)</td></tr>
|
||||||
|
<tr class="separator:a6f3a4dc87fab41c37e3eff42f40dc346"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:acdd84ad88987c0166b7ba0e3f1f8f1bb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#acdd84ad88987c0166b7ba0e3f1f8f1bb">printbuf_length</a>(p)   ((p)->bpos)</td></tr>
|
||||||
|
<tr class="separator:acdd84ad88987c0166b7ba0e3f1f8f1bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2f30492682f5fbc59a8749b428e0e4ba"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf_strappend</a>(pb, str)   <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf_memappend</a>((pb), _printbuf_check_literal(str), sizeof(str) - 1)</td></tr>
|
||||||
|
<tr class="separator:a2f30492682f5fbc59a8749b428e0e4ba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||||
|
Typedefs</h2></td></tr>
|
||||||
|
<tr class="memitem:ace274df280df67463ff417b1b3392395"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structprintbuf.html">printbuf</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#ace274df280df67463ff417b1b3392395">printbuf</a></td></tr>
|
||||||
|
<tr class="separator:ace274df280df67463ff417b1b3392395"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||||
|
Functions</h2></td></tr>
|
||||||
|
<tr class="memitem:a645670fa132f0ae9a75f43c0b464bdaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structprintbuf.html">printbuf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a645670fa132f0ae9a75f43c0b464bdaf">printbuf_new</a> (void)</td></tr>
|
||||||
|
<tr class="separator:a645670fa132f0ae9a75f43c0b464bdaf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9c193d30e9ca4936ea28a6c9e8e4f6f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf_memappend</a> (struct <a class="el" href="structprintbuf.html">printbuf</a> *p, const char *buf, int size)</td></tr>
|
||||||
|
<tr class="separator:a9c193d30e9ca4936ea28a6c9e8e4f6f0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a93a27f4f8a092c58666724de23ae804d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf_memset</a> (struct <a class="el" href="structprintbuf.html">printbuf</a> *pb, int offset, int charvalue, int len)</td></tr>
|
||||||
|
<tr class="separator:a93a27f4f8a092c58666724de23ae804d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a61f6bc0b1ca5787f0faca6799d61a0bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">sprintbuf</a> (struct <a class="el" href="structprintbuf.html">printbuf</a> *p, const char *msg,...)</td></tr>
|
||||||
|
<tr class="separator:a61f6bc0b1ca5787f0faca6799d61a0bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a705c62167df13e65e04de9ae60f6e136"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a705c62167df13e65e04de9ae60f6e136">printbuf_reset</a> (struct <a class="el" href="structprintbuf.html">printbuf</a> *p)</td></tr>
|
||||||
|
<tr class="separator:a705c62167df13e65e04de9ae60f6e136"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2b744266191ef5e3102fbf910e790a98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#a2b744266191ef5e3102fbf910e790a98">printbuf_free</a> (struct <a class="el" href="structprintbuf.html">printbuf</a> *p)</td></tr>
|
||||||
|
<tr class="separator:a2b744266191ef5e3102fbf910e790a98"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Internal string buffer handing. Unless you're writing a json_object_to_json_string_fn implementation for use with <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object_set_serializer()</a> direct use of this is not recommended. </p>
|
||||||
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||||
|
<a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="acdd84ad88987c0166b7ba0e3f1f8f1bb"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define printbuf_length</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">p</td><td>)</td>
|
||||||
|
<td>   ((p)->bpos)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a6f3a4dc87fab41c37e3eff42f40dc346"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define printbuf_memappend_fast</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">p, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">bufptr, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">bufsize </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> \</div>
|
||||||
|
<div class="line"> { \</div>
|
||||||
|
<div class="line"> if ((p->size - p->bpos) > bufsize) \</div>
|
||||||
|
<div class="line"> { \</div>
|
||||||
|
<div class="line"> memcpy(p->buf + p->bpos, (bufptr), bufsize); \</div>
|
||||||
|
<div class="line"> p->bpos += bufsize; \</div>
|
||||||
|
<div class="line"> p->buf[p->bpos] = <span class="charliteral">'\0'</span>; \</div>
|
||||||
|
<div class="line"> } \</div>
|
||||||
|
<div class="line"> else \</div>
|
||||||
|
<div class="line"> { \</div>
|
||||||
|
<div class="line"> printbuf_memappend(p, (bufptr), bufsize); \</div>
|
||||||
|
<div class="line"> } \</div>
|
||||||
|
<div class="line"> } <span class="keywordflow">while</span> (0)</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a2f30492682f5fbc59a8749b428e0e4ba"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">#define printbuf_strappend</td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">pb, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname">str </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td>   <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf_memappend</a>((pb), _printbuf_check_literal(str), sizeof(str) - 1)</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>This is an optimization wrapper around <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf_memappend()</a> that is useful for appending string literals. Since the size of string constants is known at compile time, using this macro can avoid a costly strlen() call. This is especially helpful when a constant string must be appended many times. If you got here because of a compilation error caused by passing something other than a string literal, use <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf_memappend_fast()</a> in conjunction with strlen().</p>
|
||||||
|
<p>See also: <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf_memappend_fast()</a> <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf_memappend()</a> <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">sprintbuf()</a> </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||||||
|
<a class="anchor" id="ace274df280df67463ff417b1b3392395"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">typedef struct <a class="el" href="structprintbuf.html">printbuf</a> <a class="el" href="structprintbuf.html">printbuf</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a2b744266191ef5e3102fbf910e790a98"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void printbuf_free </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structprintbuf.html">printbuf</a> * </td>
|
||||||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9c193d30e9ca4936ea28a6c9e8e4f6f0"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int printbuf_memappend </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structprintbuf.html">printbuf</a> * </td>
|
||||||
|
<td class="paramname"><em>p</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>buf</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>size</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a93a27f4f8a092c58666724de23ae804d"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int printbuf_memset </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structprintbuf.html">printbuf</a> * </td>
|
||||||
|
<td class="paramname"><em>pb</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>offset</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>charvalue</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>len</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Set len bytes of the buffer to charvalue, starting at offset offset. Similar to calling memset(x, charvalue, len);</p>
|
||||||
|
<p>The memory allocated for the buffer is extended as necessary.</p>
|
||||||
|
<p>If offset is -1, this starts at the end of the current data in the buffer. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a645670fa132f0ae9a75f43c0b464bdaf"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structprintbuf.html">printbuf</a>* printbuf_new </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">read</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a705c62167df13e65e04de9ae60f6e136"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void printbuf_reset </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structprintbuf.html">printbuf</a> * </td>
|
||||||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a61f6bc0b1ca5787f0faca6799d61a0bb"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int sprintbuf </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">struct <a class="el" href="structprintbuf.html">printbuf</a> * </td>
|
||||||
|
<td class="paramname"><em>p</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const char * </td>
|
||||||
|
<td class="paramname"><em>msg</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"> </td>
|
||||||
|
<td class="paramname"><em>...</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Formatted print to printbuf.</p>
|
||||||
|
<p>This function is the most expensive of the available functions for appending string data to a printbuf and should be used only where convenience is more important than speed. Avoid using this function in high performance code or tight loops; in these scenarios, consider using snprintf() with a static buffer in conjunction with one of the printbuf_*append() functions.</p>
|
||||||
|
<p>See also: <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf_memappend_fast()</a> <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf_memappend()</a> <a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf_strappend()</a> </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
123
doc/html/structarray__list.html
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: array_list Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">array_list Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:a7ba65feda2b156148c08667cf155b657"><td class="memItemLeft" align="right" valign="top">void ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array</a></td></tr>
|
||||||
|
<tr class="separator:a7ba65feda2b156148c08667cf155b657"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5638022574f4ddb0f80d62535085bf4f"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">length</a></td></tr>
|
||||||
|
<tr class="separator:a5638022574f4ddb0f80d62535085bf4f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a11b92f48ed715b187f8609351405342f"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarray__list.html#a11b92f48ed715b187f8609351405342f">size</a></td></tr>
|
||||||
|
<tr class="separator:a11b92f48ed715b187f8609351405342f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ab7989cdde357e5c7819c562c7680ab74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structarray__list.html#ab7989cdde357e5c7819c562c7680ab74">free_fn</a></td></tr>
|
||||||
|
<tr class="separator:ab7989cdde357e5c7819c562c7680ab74"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="a7ba65feda2b156148c08667cf155b657"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void** array_list::array</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ab7989cdde357e5c7819c562c7680ab74"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="arraylist_8h.html#aad83e4ed3c8ea274e6f18459276d774b">array_list_free_fn</a>* array_list::free_fn</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5638022574f4ddb0f80d62535085bf4f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">size_t array_list::length</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a11b92f48ed715b187f8609351405342f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">size_t array_list::size</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="arraylist_8h.html">arraylist.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
111
doc/html/structjson__object__iter.html
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_object_iter Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_object_iter Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:a0b76228b3a039075e9d84f88fa72ff53"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iter.html#a0b76228b3a039075e9d84f88fa72ff53">key</a></td></tr>
|
||||||
|
<tr class="separator:a0b76228b3a039075e9d84f88fa72ff53"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aaae14a8d17aacddacb0a57234e0a4491"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iter.html#aaae14a8d17aacddacb0a57234e0a4491">val</a></td></tr>
|
||||||
|
<tr class="separator:aaae14a8d17aacddacb0a57234e0a4491"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a64e326f050826c644c02ed5bcd214faa"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iter.html#a64e326f050826c644c02ed5bcd214faa">entry</a></td></tr>
|
||||||
|
<tr class="separator:a64e326f050826c644c02ed5bcd214faa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>A structure to use with <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a> loops. Contains key, val and entry members. </p>
|
||||||
|
</div><h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="a64e326f050826c644c02ed5bcd214faa"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* json_object_iter::entry</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a0b76228b3a039075e9d84f88fa72ff53"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">char* json_object_iter::key</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aaae14a8d17aacddacb0a57234e0a4491"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_object_iter::val</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="json__types_8h.html">json_types.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
83
doc/html/structjson__object__iterator.html
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_object_iterator Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_object_iterator Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:a69c61c14f5a36b1dc2217e49cd987f47"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iterator.html#a69c61c14f5a36b1dc2217e49cd987f47">opaque_</a></td></tr>
|
||||||
|
<tr class="separator:a69c61c14f5a36b1dc2217e49cd987f47"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>The opaque iterator that references a name/value pair within a JSON Object instance or the "end" iterator value. </p>
|
||||||
|
</div><h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="a69c61c14f5a36b1dc2217e49cd987f47"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">const void* json_object_iterator::opaque_</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="json__object__iterator_8h.html">json_object_iterator.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
254
doc/html/structjson__tokener.html
Normal file
@@ -0,0 +1,254 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_tokener Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_tokener Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:a9772e2170322a19d8da6ce5d7dc46895"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">str</a></td></tr>
|
||||||
|
<tr class="separator:a9772e2170322a19d8da6ce5d7dc46895"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a1cdc7f85d7bde95f81bb08b7e61d6684"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structprintbuf.html">printbuf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a1cdc7f85d7bde95f81bb08b7e61d6684">pb</a></td></tr>
|
||||||
|
<tr class="separator:a1cdc7f85d7bde95f81bb08b7e61d6684"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9d9b33c3982925349627dc6a3edca940"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a9d9b33c3982925349627dc6a3edca940">max_depth</a></td></tr>
|
||||||
|
<tr class="separator:a9d9b33c3982925349627dc6a3edca940"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae0e5102b44cc1fc680be3e0fb5fff028"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">depth</a></td></tr>
|
||||||
|
<tr class="separator:ae0e5102b44cc1fc680be3e0fb5fff028"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad3bf0aa728ea14549d5aa6ca8dcba070"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#ad3bf0aa728ea14549d5aa6ca8dcba070">is_double</a></td></tr>
|
||||||
|
<tr class="separator:ad3bf0aa728ea14549d5aa6ca8dcba070"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8eed213c0a37d09c1df66c8567e44471"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a8eed213c0a37d09c1df66c8567e44471">st_pos</a></td></tr>
|
||||||
|
<tr class="separator:a8eed213c0a37d09c1df66c8567e44471"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a9daae2516fd6df23555d33ef01020a76"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">char_offset</a></td></tr>
|
||||||
|
<tr class="separator:a9daae2516fd6df23555d33ef01020a76"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:adef37cdc2578d8f8920db14315728cbd"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">err</a></td></tr>
|
||||||
|
<tr class="separator:adef37cdc2578d8f8920db14315728cbd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a32fa73e43fb760e6845231a8482eb064"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a32fa73e43fb760e6845231a8482eb064">ucs_char</a></td></tr>
|
||||||
|
<tr class="separator:a32fa73e43fb760e6845231a8482eb064"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7432d9136ff5e5ceff0d02b1c3e28c18"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a7432d9136ff5e5ceff0d02b1c3e28c18">high_surrogate</a></td></tr>
|
||||||
|
<tr class="separator:a7432d9136ff5e5ceff0d02b1c3e28c18"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aea488b73085ac7c5969ae7fc29e25fa0"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#aea488b73085ac7c5969ae7fc29e25fa0">quote_char</a></td></tr>
|
||||||
|
<tr class="separator:aea488b73085ac7c5969ae7fc29e25fa0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a3521d62906eb0e15d07d7b4f64a5fac3"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#a3521d62906eb0e15d07d7b4f64a5fac3">stack</a></td></tr>
|
||||||
|
<tr class="separator:a3521d62906eb0e15d07d7b4f64a5fac3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aabfdcf2825154108669ffa3f4ab9c4ea"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html#aabfdcf2825154108669ffa3f4ab9c4ea">flags</a></td></tr>
|
||||||
|
<tr class="separator:aabfdcf2825154108669ffa3f4ab9c4ea"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Internal state of the json parser. Do not access any fields of this structure directly. Its definition is published due to historical limitations in the json tokener API, and will be changed to be an opaque type in the future. </p>
|
||||||
|
</div><h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="a9daae2516fd6df23555d33ef01020a76"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_tokener::char_offset</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000006">Deprecated:</a></b></dt><dd>See <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end()</a> instead. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae0e5102b44cc1fc680be3e0fb5fff028"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_tokener::depth</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="adef37cdc2578d8f8920db14315728cbd"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> json_tokener::err</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>See <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> instead. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aabfdcf2825154108669ffa3f4ab9c4ea"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_tokener::flags</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a7432d9136ff5e5ceff0d02b1c3e28c18"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">unsigned int json_tokener::high_surrogate</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad3bf0aa728ea14549d5aa6ca8dcba070"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_tokener::is_double</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9d9b33c3982925349627dc6a3edca940"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_tokener::max_depth</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a1cdc7f85d7bde95f81bb08b7e61d6684"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structprintbuf.html">printbuf</a>* json_tokener::pb</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aea488b73085ac7c5969ae7fc29e25fa0"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">char json_tokener::quote_char</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a8eed213c0a37d09c1df66c8567e44471"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int json_tokener::st_pos</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a3521d62906eb0e15d07d7b4f64a5fac3"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a>* json_tokener::stack</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a9772e2170322a19d8da6ce5d7dc46895"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">char* json_tokener::str</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>Do not access any of these fields outside of json_tokener.c </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a32fa73e43fb760e6845231a8482eb064"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">unsigned int json_tokener::ucs_char</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="json__tokener_8h.html">json_tokener.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
125
doc/html/structjson__tokener__srec.html
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: json_tokener_srec Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">json_tokener_srec Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:a868b9912dbb1e4813a630c944f522d48"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> state </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener__srec.html#a868b9912dbb1e4813a630c944f522d48">saved_state</a></td></tr>
|
||||||
|
<tr class="separator:a868b9912dbb1e4813a630c944f522d48"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad2bb71affec1da5ba1d9952c3bf2c12a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">obj</a></td></tr>
|
||||||
|
<tr class="separator:ad2bb71affec1da5ba1d9952c3bf2c12a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a466f192f920368a5a6375aeba1e2757f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener__srec.html#a466f192f920368a5a6375aeba1e2757f">current</a></td></tr>
|
||||||
|
<tr class="separator:a466f192f920368a5a6375aeba1e2757f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a99551c172e97ac2e7a3849a50b4f51ca"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener__srec.html#a99551c172e97ac2e7a3849a50b4f51ca">obj_field_name</a></td></tr>
|
||||||
|
<tr class="separator:a99551c172e97ac2e7a3849a50b4f51ca"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd></dl>
|
||||||
|
</div><h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="a466f192f920368a5a6375aeba1e2757f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_tokener_srec::current</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ad2bb71affec1da5ba1d9952c3bf2c12a"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* json_tokener_srec::obj</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a99551c172e97ac2e7a3849a50b4f51ca"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">char* json_tokener_srec::obj_field_name</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a868b9912dbb1e4813a630c944f522d48"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">enum <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> state json_tokener_srec::saved_state</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="json__tokener_8h.html">json_tokener.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
144
doc/html/structlh__entry.html
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: lh_entry Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">lh_entry Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:a79d9f1ef0dc444e17105aaeaf167e22c"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">k</a></td></tr>
|
||||||
|
<tr class="separator:a79d9f1ef0dc444e17105aaeaf167e22c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a14f40cc124c32b03f81151ae7934d2e7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">k_is_constant</a></td></tr>
|
||||||
|
<tr class="separator:a14f40cc124c32b03f81151ae7934d2e7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a1b676732ab2ad3eeaedf6ec60a6a0835"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">v</a></td></tr>
|
||||||
|
<tr class="separator:a1b676732ab2ad3eeaedf6ec60a6a0835"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7c40c46e72d9a0ba071a8d49d535bc67"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">next</a></td></tr>
|
||||||
|
<tr class="separator:a7c40c46e72d9a0ba071a8d49d535bc67"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6fb9c3de01fb5af67d8d429921cc6a3b"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">prev</a></td></tr>
|
||||||
|
<tr class="separator:a6fb9c3de01fb5af67d8d429921cc6a3b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>An entry in the hash table </p>
|
||||||
|
</div><h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="a79d9f1ef0dc444e17105aaeaf167e22c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">const void* lh_entry::k</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The key. Use <a class="el" href="linkhash_8h.html#a7579ce28b8366fc9b8656f14270aa3aa">lh_entry_k()</a> instead of accessing this directly. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a14f40cc124c32b03f81151ae7934d2e7"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_entry::k_is_constant</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>A flag for users of linkhash to know whether or not they need to free k. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a7c40c46e72d9a0ba071a8d49d535bc67"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_entry::next</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The next entry </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a6fb9c3de01fb5af67d8d429921cc6a3b"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_entry::prev</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The previous entry. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a1b676732ab2ad3eeaedf6ec60a6a0835"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">const void* lh_entry::v</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The value. Use <a class="el" href="linkhash_8h.html#a0d4052ccfd8c5d351a9c1d3ba07671b3">lh_entry_v()</a> instead of accessing this directly. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="linkhash_8h.html">linkhash.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
186
doc/html/structlh__table.html
Normal file
@@ -0,0 +1,186 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: lh_table Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">lh_table Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:ae251575ec2935bcb0e0589ca8e243839"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">size</a></td></tr>
|
||||||
|
<tr class="separator:ae251575ec2935bcb0e0589ca8e243839"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa172ed8fe205367b54e0e2cdf9ea8c6c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">count</a></td></tr>
|
||||||
|
<tr class="separator:aa172ed8fe205367b54e0e2cdf9ea8c6c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa7d986a3b12a9fa47e349713794c30fb"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">head</a></td></tr>
|
||||||
|
<tr class="separator:aa7d986a3b12a9fa47e349713794c30fb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a479895e45db2bdf9bf5d173fa4b7e277"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">tail</a></td></tr>
|
||||||
|
<tr class="separator:a479895e45db2bdf9bf5d173fa4b7e277"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a4fd9c5aba38791b26ab0ec614a5caf8f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structlh__entry.html">lh_entry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">table</a></td></tr>
|
||||||
|
<tr class="separator:a4fd9c5aba38791b26ab0ec614a5caf8f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a30ea5903f4f8126abd6aa489ffe14737"><td class="memItemLeft" align="right" valign="top"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">free_fn</a></td></tr>
|
||||||
|
<tr class="separator:a30ea5903f4f8126abd6aa489ffe14737"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a1488d1a4a320b1a9bb2f441859544be1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">hash_fn</a></td></tr>
|
||||||
|
<tr class="separator:a1488d1a4a320b1a9bb2f441859544be1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa646c287a6a46e09da6c7457c981a359"><td class="memItemLeft" align="right" valign="top"><a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">equal_fn</a></td></tr>
|
||||||
|
<tr class="separator:aa646c287a6a46e09da6c7457c981a359"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>The hash table structure. </p>
|
||||||
|
</div><h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="aa172ed8fe205367b54e0e2cdf9ea8c6c"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table::count</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Numbers of entries. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aa646c287a6a46e09da6c7457c981a359"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="linkhash_8h.html#a91fd85fc81b0c7c83c62f00e84729091">lh_equal_fn</a>* lh_table::equal_fn</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a30ea5903f4f8126abd6aa489ffe14737"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="linkhash_8h.html#a671553d0ee3c2a123190ba0f8ed2b635">lh_entry_free_fn</a>* lh_table::free_fn</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>A pointer onto the function responsible for freeing an entry. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a1488d1a4a320b1a9bb2f441859544be1"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="linkhash_8h.html#a38bae27995dcfb6ee3fb109a9be229b2">lh_hash_fn</a>* lh_table::hash_fn</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="aa7d986a3b12a9fa47e349713794c30fb"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_table::head</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The first entry. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="ae251575ec2935bcb0e0589ca8e243839"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int lh_table::size</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>Size of our hash. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a4fd9c5aba38791b26ab0ec614a5caf8f"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_table::table</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a479895e45db2bdf9bf5d173fa4b7e277"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">struct <a class="el" href="structlh__entry.html">lh_entry</a>* lh_table::tail</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<p>The last entry. </p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="linkhash_8h.html">linkhash.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
109
doc/html/structprintbuf.html
Normal file
@@ -0,0 +1,109 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>json-c: printbuf Struct Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">json-c
|
||||||
|
 <span id="projectnumber">0.15</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-attribs">Data Fields</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">printbuf Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||||
|
Data Fields</h2></td></tr>
|
||||||
|
<tr class="memitem:a5d7cf8ac260f1f7c50fecaf9bd7bc651"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structprintbuf.html#a5d7cf8ac260f1f7c50fecaf9bd7bc651">buf</a></td></tr>
|
||||||
|
<tr class="separator:a5d7cf8ac260f1f7c50fecaf9bd7bc651"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aba980ad7406329e32f557dfa0eb7b1b2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structprintbuf.html#aba980ad7406329e32f557dfa0eb7b1b2">bpos</a></td></tr>
|
||||||
|
<tr class="separator:aba980ad7406329e32f557dfa0eb7b1b2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a12ce6440eaa06a55b96ebdc5a9778dd5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structprintbuf.html#a12ce6440eaa06a55b96ebdc5a9778dd5">size</a></td></tr>
|
||||||
|
<tr class="separator:a12ce6440eaa06a55b96ebdc5a9778dd5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<h2 class="groupheader">Field Documentation</h2>
|
||||||
|
<a class="anchor" id="aba980ad7406329e32f557dfa0eb7b1b2"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int printbuf::bpos</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a5d7cf8ac260f1f7c50fecaf9bd7bc651"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">char* printbuf::buf</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a12ce6440eaa06a55b96ebdc5a9778dd5"></a>
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int printbuf::size</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||||
|
<li>/home/erh/json-c-0.15/<a class="el" href="printbuf_8h.html">printbuf.h</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/html/sync_off.png
Normal file
|
After Width: | Height: | Size: 853 B |
BIN
doc/html/sync_on.png
Normal file
|
After Width: | Height: | Size: 845 B |
BIN
doc/html/tab_a.png
Normal file
|
After Width: | Height: | Size: 142 B |
BIN
doc/html/tab_b.png
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
doc/html/tab_h.png
Normal file
|
After Width: | Height: | Size: 177 B |
BIN
doc/html/tab_s.png
Normal file
|
After Width: | Height: | Size: 184 B |
60
doc/html/tabs.css
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
.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);
|
||||||
|
}
|
||||||
@@ -16,255 +16,255 @@ Issues and Pull Requests closed for the 0.13 release
|
|||||||
(since commit f84d9c, the 0.12 branch point, 2014-04-10)
|
(since commit f84d9c, the 0.12 branch point, 2014-04-10)
|
||||||
|
|
||||||
|
|
||||||
[Issue #61](https://github.com/json-c/json-c/issues/61) - Make json_object_object_add() indicate success or failure, test fix \
|
* [Issue #61](https://github.com/json-c/json-c/issues/61) - Make json_object_object_add() indicate success or failure, test fix \
|
||||||
[Issue #113](https://github.com/json-c/json-c/issues/113) - Build fixes (make dist and make distcheck) \
|
* [Issue #113](https://github.com/json-c/json-c/issues/113) - Build fixes (make dist and make distcheck) \
|
||||||
[Issue #124](https://github.com/json-c/json-c/issues/124) - Fixing build \
|
* [Issue #124](https://github.com/json-c/json-c/issues/124) - Fixing build \
|
||||||
[Issue #125](https://github.com/json-c/json-c/issues/125) - Fix compile error(variable size set but not used) on g++4.6 \
|
* [Issue #125](https://github.com/json-c/json-c/issues/125) - Fix compile error(variable size set but not used) on g++4.6 \
|
||||||
[Issue #126](https://github.com/json-c/json-c/issues/126) - Removed unused size variable. \
|
* [Issue #126](https://github.com/json-c/json-c/issues/126) - Removed unused size variable. \
|
||||||
[Issue #127](https://github.com/json-c/json-c/issues/127) - remove unused `size` variable \
|
* [Issue #127](https://github.com/json-c/json-c/issues/127) - remove unused `size` variable \
|
||||||
[Issue #128](https://github.com/json-c/json-c/issues/128) - Remove unused variable from json_tokenizer.c \
|
* [Issue #128](https://github.com/json-c/json-c/issues/128) - Remove unused variable from json_tokenizer.c \
|
||||||
[Issue #130](https://github.com/json-c/json-c/issues/130) - Failed to compile under Ubuntu 13.10 32bit \
|
* [Issue #130](https://github.com/json-c/json-c/issues/130) - Failed to compile under Ubuntu 13.10 32bit \
|
||||||
[Issue #131](https://github.com/json-c/json-c/issues/131) - undefined symbol: __sync_val_compare_and_swap_4 \
|
* [Issue #131](https://github.com/json-c/json-c/issues/131) - undefined symbol: __sync_val_compare_and_swap_4 \
|
||||||
[Issue #132](https://github.com/json-c/json-c/issues/132) - Remove unused variable 'size' \
|
* [Issue #132](https://github.com/json-c/json-c/issues/132) - Remove unused variable 'size' \
|
||||||
[Issue #133](https://github.com/json-c/json-c/issues/133) - Update and rename README to README.md \
|
* [Issue #133](https://github.com/json-c/json-c/issues/133) - Update and rename README to README.md \
|
||||||
[Issue #134](https://github.com/json-c/json-c/issues/134) - Must remove variable size... \
|
* [Issue #134](https://github.com/json-c/json-c/issues/134) - Must remove variable size... \
|
||||||
[Issue #135](https://github.com/json-c/json-c/issues/135) - bits.h uses removed json_tokener_errors\[error\] \
|
* [Issue #135](https://github.com/json-c/json-c/issues/135) - bits.h uses removed json_tokener_errors\[error\] \
|
||||||
[Issue #136](https://github.com/json-c/json-c/issues/136) - Error when running make check \
|
* [Issue #136](https://github.com/json-c/json-c/issues/136) - Error when running make check \
|
||||||
[Issue #137](https://github.com/json-c/json-c/issues/137) - config.h.in should not be in git \
|
* [Issue #137](https://github.com/json-c/json-c/issues/137) - config.h.in should not be in git \
|
||||||
[Issue #138](https://github.com/json-c/json-c/issues/138) - Can't build on RHEL 6.5 due to dependency on automake-1.14 \
|
* [Issue #138](https://github.com/json-c/json-c/issues/138) - Can't build on RHEL 6.5 due to dependency on automake-1.14 \
|
||||||
[Issue #140](https://github.com/json-c/json-c/issues/140) - Code bug in random_test.c evaluating same expression twice \
|
* [Issue #140](https://github.com/json-c/json-c/issues/140) - Code bug in random_test.c evaluating same expression twice \
|
||||||
[Issue #141](https://github.com/json-c/json-c/issues/141) - Removed duplicate check in random_seed test - bug #140 \
|
* [Issue #141](https://github.com/json-c/json-c/issues/141) - Removed duplicate check in random_seed test - bug #140 \
|
||||||
[Issue #142](https://github.com/json-c/json-c/issues/142) - Please undeprecate json_object_object_get \
|
* [Issue #142](https://github.com/json-c/json-c/issues/142) - Please undeprecate json_object_object_get \
|
||||||
[Issue #144](https://github.com/json-c/json-c/issues/144) - Introduce json_object_from_fd \
|
* [Issue #144](https://github.com/json-c/json-c/issues/144) - Introduce json_object_from_fd \
|
||||||
[Issue #145](https://github.com/json-c/json-c/issues/145) - Handle % character properly \
|
* [Issue #145](https://github.com/json-c/json-c/issues/145) - Handle % character properly \
|
||||||
[Issue #146](https://github.com/json-c/json-c/issues/146) - TAGS rename \
|
* [Issue #146](https://github.com/json-c/json-c/issues/146) - TAGS rename \
|
||||||
[Issue #148](https://github.com/json-c/json-c/issues/148) - Bump the soname \
|
* [Issue #148](https://github.com/json-c/json-c/issues/148) - Bump the soname \
|
||||||
[Issue #149](https://github.com/json-c/json-c/issues/149) - SONAME bump \
|
* [Issue #149](https://github.com/json-c/json-c/issues/149) - SONAME bump \
|
||||||
[Issue #150](https://github.com/json-c/json-c/issues/150) - Fix build using MinGW. \
|
* [Issue #150](https://github.com/json-c/json-c/issues/150) - Fix build using MinGW. \
|
||||||
[Issue #151](https://github.com/json-c/json-c/issues/151) - Remove json_type enum trailing comma \
|
* [Issue #151](https://github.com/json-c/json-c/issues/151) - Remove json_type enum trailing comma \
|
||||||
[Issue #152](https://github.com/json-c/json-c/issues/152) - error while compiling json-c library version 0.11 \
|
* [Issue #152](https://github.com/json-c/json-c/issues/152) - error while compiling json-c library version 0.11 \
|
||||||
[Issue #153](https://github.com/json-c/json-c/issues/153) - improve doc for json_object_to_json_string() \
|
* [Issue #153](https://github.com/json-c/json-c/issues/153) - improve doc for json_object_to_json_string() \
|
||||||
[Issue #154](https://github.com/json-c/json-c/issues/154) - double precision \
|
* [Issue #154](https://github.com/json-c/json-c/issues/154) - double precision \
|
||||||
[Issue #155](https://github.com/json-c/json-c/issues/155) - add bsearch for arrays \
|
* [Issue #155](https://github.com/json-c/json-c/issues/155) - add bsearch for arrays \
|
||||||
[Issue #156](https://github.com/json-c/json-c/issues/156) - Remove trailing whitespaces \
|
* [Issue #156](https://github.com/json-c/json-c/issues/156) - Remove trailing whitespaces \
|
||||||
[Issue #157](https://github.com/json-c/json-c/issues/157) - JSON-C shall not exit on calloc fail. \
|
* [Issue #157](https://github.com/json-c/json-c/issues/157) - JSON-C shall not exit on calloc fail. \
|
||||||
[Issue #158](https://github.com/json-c/json-c/issues/158) - while using json-c 0.11, I am facing strange crash issue in json_object_put. \
|
* [Issue #158](https://github.com/json-c/json-c/issues/158) - while using json-c 0.11, I am facing strange crash issue in json_object_put. \
|
||||||
[Issue #159](https://github.com/json-c/json-c/issues/159) - json_tokener.c compile error \
|
* [Issue #159](https://github.com/json-c/json-c/issues/159) - json_tokener.c compile error \
|
||||||
[Issue #160](https://github.com/json-c/json-c/issues/160) - missing header file on windows?? \
|
* [Issue #160](https://github.com/json-c/json-c/issues/160) - missing header file on windows?? \
|
||||||
[Issue #161](https://github.com/json-c/json-c/issues/161) - Is there a way to append to file? \
|
* [Issue #161](https://github.com/json-c/json-c/issues/161) - Is there a way to append to file? \
|
||||||
[Issue #162](https://github.com/json-c/json-c/issues/162) - json_util: add directory check for POSIX distros \
|
* [Issue #162](https://github.com/json-c/json-c/issues/162) - json_util: add directory check for POSIX distros \
|
||||||
[Issue #163](https://github.com/json-c/json-c/issues/163) - Fix Win32 build problems \
|
* [Issue #163](https://github.com/json-c/json-c/issues/163) - Fix Win32 build problems \
|
||||||
[Issue #164](https://github.com/json-c/json-c/issues/164) - made it compile and link on Widnows (as static library) \
|
* [Issue #164](https://github.com/json-c/json-c/issues/164) - made it compile and link on Widnows (as static library) \
|
||||||
[Issue #165](https://github.com/json-c/json-c/issues/165) - json_object_to_json_string_ext length \
|
* [Issue #165](https://github.com/json-c/json-c/issues/165) - json_object_to_json_string_ext length \
|
||||||
[Issue #167](https://github.com/json-c/json-c/issues/167) - Can't build on Windows with Visual Studio 2010 \
|
* [Issue #167](https://github.com/json-c/json-c/issues/167) - Can't build on Windows with Visual Studio 2010 \
|
||||||
[Issue #168](https://github.com/json-c/json-c/issues/168) - Tightening the number parsing algorithm \
|
* [Issue #168](https://github.com/json-c/json-c/issues/168) - Tightening the number parsing algorithm \
|
||||||
[Issue #169](https://github.com/json-c/json-c/issues/169) - Doesn't compile on ubuntu 14.04, 64bit \
|
* [Issue #169](https://github.com/json-c/json-c/issues/169) - Doesn't compile on ubuntu 14.04, 64bit \
|
||||||
[Issue #170](https://github.com/json-c/json-c/issues/170) - Generated files in repository \
|
* [Issue #170](https://github.com/json-c/json-c/issues/170) - Generated files in repository \
|
||||||
[Issue #171](https://github.com/json-c/json-c/issues/171) - Update configuration for VS2010 and win64 \
|
* [Issue #171](https://github.com/json-c/json-c/issues/171) - Update configuration for VS2010 and win64 \
|
||||||
[Issue #172](https://github.com/json-c/json-c/issues/172) - Adding support for parsing octal numbers \
|
* [Issue #172](https://github.com/json-c/json-c/issues/172) - Adding support for parsing octal numbers \
|
||||||
[Issue #173](https://github.com/json-c/json-c/issues/173) - json_parse_int64 doesn't work correctly at illumos \
|
* [Issue #173](https://github.com/json-c/json-c/issues/173) - json_parse_int64 doesn't work correctly at illumos \
|
||||||
[Issue #174](https://github.com/json-c/json-c/issues/174) - Adding JSON_C_TO_STRING_PRETTY_TAB flag \
|
* [Issue #174](https://github.com/json-c/json-c/issues/174) - Adding JSON_C_TO_STRING_PRETTY_TAB flag \
|
||||||
[Issue #175](https://github.com/json-c/json-c/issues/175) - make check fails 4 tests with overflows when built with ASAN \
|
* [Issue #175](https://github.com/json-c/json-c/issues/175) - make check fails 4 tests with overflows when built with ASAN \
|
||||||
[Issue #176](https://github.com/json-c/json-c/issues/176) - Possible to delete an array element at a given idx ? \
|
* [Issue #176](https://github.com/json-c/json-c/issues/176) - Possible to delete an array element at a given idx ? \
|
||||||
[Issue #177](https://github.com/json-c/json-c/issues/177) - Fix compiler warnings \
|
* [Issue #177](https://github.com/json-c/json-c/issues/177) - Fix compiler warnings \
|
||||||
[Issue #178](https://github.com/json-c/json-c/issues/178) - Unable to compile on CentOS5 \
|
* [Issue #178](https://github.com/json-c/json-c/issues/178) - Unable to compile on CentOS5 \
|
||||||
[Issue #179](https://github.com/json-c/json-c/issues/179) - Added array_list_del_idx and json_object_array_del_idx \
|
* [Issue #179](https://github.com/json-c/json-c/issues/179) - Added array_list_del_idx and json_object_array_del_idx \
|
||||||
[Issue #180](https://github.com/json-c/json-c/issues/180) - Enable silent build by default \
|
* [Issue #180](https://github.com/json-c/json-c/issues/180) - Enable silent build by default \
|
||||||
[Issue #181](https://github.com/json-c/json-c/issues/181) - json_tokener_parse_ex accepts invalid JSON \
|
* [Issue #181](https://github.com/json-c/json-c/issues/181) - json_tokener_parse_ex accepts invalid JSON \
|
||||||
[Issue #182](https://github.com/json-c/json-c/issues/182) - Link against libm when needed \
|
* [Issue #182](https://github.com/json-c/json-c/issues/182) - Link against libm when needed \
|
||||||
[Issue #183](https://github.com/json-c/json-c/issues/183) - Apply compile warning fix to master branch \
|
* [Issue #183](https://github.com/json-c/json-c/issues/183) - Apply compile warning fix to master branch \
|
||||||
[Issue #184](https://github.com/json-c/json-c/issues/184) - Use only GCC-specific flags when compiling with GCC \
|
* [Issue #184](https://github.com/json-c/json-c/issues/184) - Use only GCC-specific flags when compiling with GCC \
|
||||||
[Issue #185](https://github.com/json-c/json-c/issues/185) - compile error \
|
* [Issue #185](https://github.com/json-c/json-c/issues/185) - compile error \
|
||||||
[Issue #186](https://github.com/json-c/json-c/issues/186) - Syntax error \
|
* [Issue #186](https://github.com/json-c/json-c/issues/186) - Syntax error \
|
||||||
[Issue #187](https://github.com/json-c/json-c/issues/187) - array_list_get_idx and negative indexes. \
|
* [Issue #187](https://github.com/json-c/json-c/issues/187) - array_list_get_idx and negative indexes. \
|
||||||
[Issue #188](https://github.com/json-c/json-c/issues/188) - json_object_object_foreach warnings \
|
* [Issue #188](https://github.com/json-c/json-c/issues/188) - json_object_object_foreach warnings \
|
||||||
[Issue #189](https://github.com/json-c/json-c/issues/189) - noisy json_object_from_file: error opening file \
|
* [Issue #189](https://github.com/json-c/json-c/issues/189) - noisy json_object_from_file: error opening file \
|
||||||
[Issue #190](https://github.com/json-c/json-c/issues/190) - warning: initialization discards const qualifier from pointer target type \[enabled by default\] \
|
* [Issue #190](https://github.com/json-c/json-c/issues/190) - warning: initialization discards const qualifier from pointer target type \[enabled by default\] \
|
||||||
[Issue #192](https://github.com/json-c/json-c/issues/192) - json_tokener_parse accepts invalid JSON {"key": "value" , } \
|
* [Issue #192](https://github.com/json-c/json-c/issues/192) - json_tokener_parse accepts invalid JSON {"key": "value" , } \
|
||||||
[Issue #193](https://github.com/json-c/json-c/issues/193) - Make serialization format of doubles configurable \
|
* [Issue #193](https://github.com/json-c/json-c/issues/193) - Make serialization format of doubles configurable \
|
||||||
[Issue #194](https://github.com/json-c/json-c/issues/194) - Add utility function for comparing json_objects \
|
* [Issue #194](https://github.com/json-c/json-c/issues/194) - Add utility function for comparing json_objects \
|
||||||
[Issue #195](https://github.com/json-c/json-c/issues/195) - Call uselocale instead of setlocale \
|
* [Issue #195](https://github.com/json-c/json-c/issues/195) - Call uselocale instead of setlocale \
|
||||||
[Issue #196](https://github.com/json-c/json-c/issues/196) - Performance improvements \
|
* [Issue #196](https://github.com/json-c/json-c/issues/196) - Performance improvements \
|
||||||
[Issue #197](https://github.com/json-c/json-c/issues/197) - Time for a new release? \
|
* [Issue #197](https://github.com/json-c/json-c/issues/197) - Time for a new release? \
|
||||||
[Issue #198](https://github.com/json-c/json-c/issues/198) - Fix possible memory leak and remove superfluous NULL checks before free() \
|
* [Issue #198](https://github.com/json-c/json-c/issues/198) - Fix possible memory leak and remove superfluous NULL checks before free() \
|
||||||
[Issue #199](https://github.com/json-c/json-c/issues/199) - Fix build in Visual Studio \
|
* [Issue #199](https://github.com/json-c/json-c/issues/199) - Fix build in Visual Studio \
|
||||||
[Issue #200](https://github.com/json-c/json-c/issues/200) - Add build scripts for CI platforms \
|
* [Issue #200](https://github.com/json-c/json-c/issues/200) - Add build scripts for CI platforms \
|
||||||
[Issue #201](https://github.com/json-c/json-c/issues/201) - disable forward-slash escaping? \
|
* [Issue #201](https://github.com/json-c/json-c/issues/201) - disable forward-slash escaping? \
|
||||||
[Issue #202](https://github.com/json-c/json-c/issues/202) - Array with objects support \
|
* [Issue #202](https://github.com/json-c/json-c/issues/202) - Array with objects support \
|
||||||
[Issue #203](https://github.com/json-c/json-c/issues/203) - Add source position/coordinates to API \
|
* [Issue #203](https://github.com/json-c/json-c/issues/203) - Add source position/coordinates to API \
|
||||||
[Issue #204](https://github.com/json-c/json-c/issues/204) - json-c/json.h not found \
|
* [Issue #204](https://github.com/json-c/json-c/issues/204) - json-c/json.h not found \
|
||||||
[Issue #205](https://github.com/json-c/json-c/issues/205) - json-c Compiled with Visual Studios \
|
* [Issue #205](https://github.com/json-c/json-c/issues/205) - json-c Compiled with Visual Studios \
|
||||||
[Issue #206](https://github.com/json-c/json-c/issues/206) - what do i use in place of json_object_object_get? \
|
* [Issue #206](https://github.com/json-c/json-c/issues/206) - what do i use in place of json_object_object_get? \
|
||||||
[Issue #207](https://github.com/json-c/json-c/issues/207) - Add support for property pairs directly added to arrays \
|
* [Issue #207](https://github.com/json-c/json-c/issues/207) - Add support for property pairs directly added to arrays \
|
||||||
[Issue #208](https://github.com/json-c/json-c/issues/208) - Performance enhancements (mainly) to json_object_to_json_string() \
|
* [Issue #208](https://github.com/json-c/json-c/issues/208) - Performance enhancements (mainly) to json_object_to_json_string() \
|
||||||
[Issue #209](https://github.com/json-c/json-c/issues/209) - fix regression from 2d549662be832da838aa063da2efa78ee3b99668 \
|
* [Issue #209](https://github.com/json-c/json-c/issues/209) - fix regression from 2d549662be832da838aa063da2efa78ee3b99668 \
|
||||||
[Issue #210](https://github.com/json-c/json-c/issues/210) - Use size_t for arrays \
|
* [Issue #210](https://github.com/json-c/json-c/issues/210) - Use size_t for arrays \
|
||||||
[Issue #211](https://github.com/json-c/json-c/issues/211) - Atomic updates for the refcount \
|
* [Issue #211](https://github.com/json-c/json-c/issues/211) - Atomic updates for the refcount \
|
||||||
[Issue #212](https://github.com/json-c/json-c/issues/212) - Refcount doesn't work between threads \
|
* [Issue #212](https://github.com/json-c/json-c/issues/212) - Refcount doesn't work between threads \
|
||||||
[Issue #213](https://github.com/json-c/json-c/issues/213) - fix to compile with microsoft visual c++ 2010 \
|
* [Issue #213](https://github.com/json-c/json-c/issues/213) - fix to compile with microsoft visual c++ 2010 \
|
||||||
[Issue #214](https://github.com/json-c/json-c/issues/214) - Some non-GNU systems support __sync_val_compare_and_swap \
|
* [Issue #214](https://github.com/json-c/json-c/issues/214) - Some non-GNU systems support __sync_val_compare_and_swap \
|
||||||
[Issue #215](https://github.com/json-c/json-c/issues/215) - Build json-c for window 64 bit. \
|
* [Issue #215](https://github.com/json-c/json-c/issues/215) - Build json-c for window 64 bit. \
|
||||||
[Issue #216](https://github.com/json-c/json-c/issues/216) - configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation. \
|
* [Issue #216](https://github.com/json-c/json-c/issues/216) - configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation. \
|
||||||
[Issue #217](https://github.com/json-c/json-c/issues/217) - Checking for functions in float.h \
|
* [Issue #217](https://github.com/json-c/json-c/issues/217) - Checking for functions in float.h \
|
||||||
[Issue #218](https://github.com/json-c/json-c/issues/218) - Use a macro to indicate C99 to the compiler \
|
* [Issue #218](https://github.com/json-c/json-c/issues/218) - Use a macro to indicate C99 to the compiler \
|
||||||
[Issue #219](https://github.com/json-c/json-c/issues/219) - Fix various potential null ptr deref and int32 overflows \
|
* [Issue #219](https://github.com/json-c/json-c/issues/219) - Fix various potential null ptr deref and int32 overflows \
|
||||||
[Issue #220](https://github.com/json-c/json-c/issues/220) - Add utility function for comparing json_objects \
|
* [Issue #220](https://github.com/json-c/json-c/issues/220) - Add utility function for comparing json_objects \
|
||||||
[Issue #221](https://github.com/json-c/json-c/issues/221) - JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \
|
* [Issue #221](https://github.com/json-c/json-c/issues/221) - JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \
|
||||||
[Issue #222](https://github.com/json-c/json-c/issues/222) - Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \
|
* [Issue #222](https://github.com/json-c/json-c/issues/222) - Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \
|
||||||
[Issue #223](https://github.com/json-c/json-c/issues/223) - Clarify json_object_get_string documentation of NULL handling & return \
|
* [Issue #223](https://github.com/json-c/json-c/issues/223) - Clarify json_object_get_string documentation of NULL handling & return \
|
||||||
[Issue #224](https://github.com/json-c/json-c/issues/224) - json_tokener.c - all warnings being treated as errors \
|
* [Issue #224](https://github.com/json-c/json-c/issues/224) - json_tokener.c - all warnings being treated as errors \
|
||||||
[Issue #225](https://github.com/json-c/json-c/issues/225) - Hi, will you support clib as a "registry"? \
|
* [Issue #225](https://github.com/json-c/json-c/issues/225) - Hi, will you support clib as a "registry"? \
|
||||||
[Issue #227](https://github.com/json-c/json-c/issues/227) - Bump SOVERSION to 3 \
|
* [Issue #227](https://github.com/json-c/json-c/issues/227) - Bump SOVERSION to 3 \
|
||||||
[Issue #228](https://github.com/json-c/json-c/issues/228) - avoid double slashes from json \
|
* [Issue #228](https://github.com/json-c/json-c/issues/228) - avoid double slashes from json \
|
||||||
[Issue #229](https://github.com/json-c/json-c/issues/229) - configure fails: checking size of size_t... configure: error: cannot determine a size for size_t \
|
* [Issue #229](https://github.com/json-c/json-c/issues/229) - configure fails: checking size of size_t... configure: error: cannot determine a size for size_t \
|
||||||
[Issue #230](https://github.com/json-c/json-c/issues/230) - Use stdint.h to check for size_t size \
|
* [Issue #230](https://github.com/json-c/json-c/issues/230) - Use stdint.h to check for size_t size \
|
||||||
[Issue #231](https://github.com/json-c/json-c/issues/231) - Fix size_t size check for first-time builds \
|
* [Issue #231](https://github.com/json-c/json-c/issues/231) - Fix size_t size check for first-time builds \
|
||||||
[Issue #232](https://github.com/json-c/json-c/issues/232) - tests/tests1: fix printf format for size_t arguments \
|
* [Issue #232](https://github.com/json-c/json-c/issues/232) - tests/tests1: fix printf format for size_t arguments \
|
||||||
[Issue #233](https://github.com/json-c/json-c/issues/233) - Include stddef.h in json_object.h \
|
* [Issue #233](https://github.com/json-c/json-c/issues/233) - Include stddef.h in json_object.h \
|
||||||
[Issue #234](https://github.com/json-c/json-c/issues/234) - Add public API to use userdata independently of custom serializer \
|
* [Issue #234](https://github.com/json-c/json-c/issues/234) - Add public API to use userdata independently of custom serializer \
|
||||||
[Issue #235](https://github.com/json-c/json-c/issues/235) - Undefined symbols Error for architecture x86_64 on Mac \
|
* [Issue #235](https://github.com/json-c/json-c/issues/235) - Undefined symbols Error for architecture x86_64 on Mac \
|
||||||
[Issue #236](https://github.com/json-c/json-c/issues/236) - Building a project which uses json-c with flag -Wcast-qual causes compilation errors \
|
* [Issue #236](https://github.com/json-c/json-c/issues/236) - Building a project which uses json-c with flag -Wcast-qual causes compilation errors \
|
||||||
[Issue #237](https://github.com/json-c/json-c/issues/237) - handle escaped utf-8 \
|
* [Issue #237](https://github.com/json-c/json-c/issues/237) - handle escaped utf-8 \
|
||||||
[Issue #238](https://github.com/json-c/json-c/issues/238) - linkhash.c: optimised the table_free path \
|
* [Issue #238](https://github.com/json-c/json-c/issues/238) - linkhash.c: optimised the table_free path \
|
||||||
[Issue #239](https://github.com/json-c/json-c/issues/239) - initialize null terminator of new printbuf \
|
* [Issue #239](https://github.com/json-c/json-c/issues/239) - initialize null terminator of new printbuf \
|
||||||
[Issue #240](https://github.com/json-c/json-c/issues/240) - Compile error: Variable set but not used \
|
* [Issue #240](https://github.com/json-c/json-c/issues/240) - Compile error: Variable set but not used \
|
||||||
[Issue #241](https://github.com/json-c/json-c/issues/241) - getting error in date string 19\/07\/2016, fixed for error 19/07/2016 \
|
* [Issue #241](https://github.com/json-c/json-c/issues/241) - getting error in date string 19\/07\/2016, fixed for error 19/07/2016 \
|
||||||
[Issue #242](https://github.com/json-c/json-c/issues/242) - json_tokener_parse error \
|
* [Issue #242](https://github.com/json-c/json-c/issues/242) - json_tokener_parse error \
|
||||||
[Issue #243](https://github.com/json-c/json-c/issues/243) - Fix #165 \
|
* [Issue #243](https://github.com/json-c/json-c/issues/243) - Fix #165 \
|
||||||
[Issue #244](https://github.com/json-c/json-c/issues/244) - Error while compiling source from RHEL5, could you please help me to fix this \
|
* [Issue #244](https://github.com/json-c/json-c/issues/244) - Error while compiling source from RHEL5, could you please help me to fix this \
|
||||||
[Issue #245](https://github.com/json-c/json-c/issues/245) - json-c compile in window xp \
|
* [Issue #245](https://github.com/json-c/json-c/issues/245) - json-c compile in window xp \
|
||||||
[Issue #246](https://github.com/json-c/json-c/issues/246) - Mac: uselocale failed to build \
|
* [Issue #246](https://github.com/json-c/json-c/issues/246) - Mac: uselocale failed to build \
|
||||||
[Issue #247](https://github.com/json-c/json-c/issues/247) - json_object_array_del_idx function has segment fault error? \
|
* [Issue #247](https://github.com/json-c/json-c/issues/247) - json_object_array_del_idx function has segment fault error? \
|
||||||
[Issue #248](https://github.com/json-c/json-c/issues/248) - Minor changes in C source code \
|
* [Issue #248](https://github.com/json-c/json-c/issues/248) - Minor changes in C source code \
|
||||||
[Issue #249](https://github.com/json-c/json-c/issues/249) - Improving README \
|
* [Issue #249](https://github.com/json-c/json-c/issues/249) - Improving README \
|
||||||
[Issue #250](https://github.com/json-c/json-c/issues/250) - Improving .gitignore \
|
* [Issue #250](https://github.com/json-c/json-c/issues/250) - Improving .gitignore \
|
||||||
[Issue #251](https://github.com/json-c/json-c/issues/251) - Adding a file for EditorConfig \
|
* [Issue #251](https://github.com/json-c/json-c/issues/251) - Adding a file for EditorConfig \
|
||||||
[Issue #252](https://github.com/json-c/json-c/issues/252) - Very minor changes not related to C source code \
|
* [Issue #252](https://github.com/json-c/json-c/issues/252) - Very minor changes not related to C source code \
|
||||||
[Issue #253](https://github.com/json-c/json-c/issues/253) - Adding a test with cppcheck for Travis CI \
|
* [Issue #253](https://github.com/json-c/json-c/issues/253) - Adding a test with cppcheck for Travis CI \
|
||||||
[Issue #254](https://github.com/json-c/json-c/issues/254) - Very minor changes to some tests \
|
* [Issue #254](https://github.com/json-c/json-c/issues/254) - Very minor changes to some tests \
|
||||||
[Issue #255](https://github.com/json-c/json-c/issues/255) - Minor changes in C source code \
|
* [Issue #255](https://github.com/json-c/json-c/issues/255) - Minor changes in C source code \
|
||||||
[Issue #256](https://github.com/json-c/json-c/issues/256) - Mailing list dead? \
|
* [Issue #256](https://github.com/json-c/json-c/issues/256) - Mailing list dead? \
|
||||||
[Issue #257](https://github.com/json-c/json-c/issues/257) - Defining a coding style \
|
* [Issue #257](https://github.com/json-c/json-c/issues/257) - Defining a coding style \
|
||||||
[Issue #258](https://github.com/json-c/json-c/issues/258) - Enable CI services \
|
* [Issue #258](https://github.com/json-c/json-c/issues/258) - Enable CI services \
|
||||||
[Issue #259](https://github.com/json-c/json-c/issues/259) - Fails to parse valid json \
|
* [Issue #259](https://github.com/json-c/json-c/issues/259) - Fails to parse valid json \
|
||||||
[Issue #260](https://github.com/json-c/json-c/issues/260) - Adding an object to itself \
|
* [Issue #260](https://github.com/json-c/json-c/issues/260) - Adding an object to itself \
|
||||||
[Issue #261](https://github.com/json-c/json-c/issues/261) - Lack of proper documentation \
|
* [Issue #261](https://github.com/json-c/json-c/issues/261) - Lack of proper documentation \
|
||||||
[Issue #262](https://github.com/json-c/json-c/issues/262) - Add Cmakefile and fix compiler warning. \
|
* [Issue #262](https://github.com/json-c/json-c/issues/262) - Add Cmakefile and fix compiler warning. \
|
||||||
[Issue #263](https://github.com/json-c/json-c/issues/263) - Compiler Warnings with VS2015 \
|
* [Issue #263](https://github.com/json-c/json-c/issues/263) - Compiler Warnings with VS2015 \
|
||||||
[Issue #264](https://github.com/json-c/json-c/issues/264) - successed in simple test while failed in my project \
|
* [Issue #264](https://github.com/json-c/json-c/issues/264) - successed in simple test while failed in my project \
|
||||||
[Issue #265](https://github.com/json-c/json-c/issues/265) - Conformance report for reference \
|
* [Issue #265](https://github.com/json-c/json-c/issues/265) - Conformance report for reference \
|
||||||
[Issue #266](https://github.com/json-c/json-c/issues/266) - crash perhaps related to reference counting \
|
* [Issue #266](https://github.com/json-c/json-c/issues/266) - crash perhaps related to reference counting \
|
||||||
[Issue #267](https://github.com/json-c/json-c/issues/267) - Removes me as Win32 maintainer, because I'm not. \
|
* [Issue #267](https://github.com/json-c/json-c/issues/267) - Removes me as Win32 maintainer, because I'm not. \
|
||||||
[Issue #268](https://github.com/json-c/json-c/issues/268) - Documentation of json_object_to_json_string gives no information about memory management \
|
* [Issue #268](https://github.com/json-c/json-c/issues/268) - Documentation of json_object_to_json_string gives no information about memory management \
|
||||||
[Issue #269](https://github.com/json-c/json-c/issues/269) - json_object_<type>_set(json_object *o,<type> value) API for value setting in json object private structure \
|
* [Issue #269](https://github.com/json-c/json-c/issues/269) - json_object_<type>_set(json_object *o,<type> value) API for value setting in json object private structure \
|
||||||
[Issue #270](https://github.com/json-c/json-c/issues/270) - new API json_object_new_double_f(doubel d,const char * fmt); \
|
* [Issue #270](https://github.com/json-c/json-c/issues/270) - new API json_object_new_double_f(doubel d,const char * fmt); \
|
||||||
[Issue #271](https://github.com/json-c/json-c/issues/271) - Cannot compile using CMake on macOS \
|
* [Issue #271](https://github.com/json-c/json-c/issues/271) - Cannot compile using CMake on macOS \
|
||||||
[Issue #273](https://github.com/json-c/json-c/issues/273) - fixed wrong object name in json_object_all_values_equal \
|
* [Issue #273](https://github.com/json-c/json-c/issues/273) - fixed wrong object name in json_object_all_values_equal \
|
||||||
[Issue #274](https://github.com/json-c/json-c/issues/274) - Support for 64 bit pointers on Windows \
|
* [Issue #274](https://github.com/json-c/json-c/issues/274) - Support for 64 bit pointers on Windows \
|
||||||
[Issue #275](https://github.com/json-c/json-c/issues/275) - Out-of-bounds read in json_tokener_parse_ex \
|
* [Issue #275](https://github.com/json-c/json-c/issues/275) - Out-of-bounds read in json_tokener_parse_ex \
|
||||||
[Issue #276](https://github.com/json-c/json-c/issues/276) - ./configure for centos release 6.7(final) failure \
|
* [Issue #276](https://github.com/json-c/json-c/issues/276) - ./configure for centos release 6.7(final) failure \
|
||||||
[Issue #277](https://github.com/json-c/json-c/issues/277) - Json object set xxx \
|
* [Issue #277](https://github.com/json-c/json-c/issues/277) - Json object set xxx \
|
||||||
[Issue #278](https://github.com/json-c/json-c/issues/278) - Serialization of double with no fractional component drops trailing zero \
|
* [Issue #278](https://github.com/json-c/json-c/issues/278) - Serialization of double with no fractional component drops trailing zero \
|
||||||
[Issue #279](https://github.com/json-c/json-c/issues/279) - Segmentation fault in array_list_length() \
|
* [Issue #279](https://github.com/json-c/json-c/issues/279) - Segmentation fault in array_list_length() \
|
||||||
[Issue #280](https://github.com/json-c/json-c/issues/280) - Should json_object_array_get_idx check whether input obj is array? \
|
* [Issue #280](https://github.com/json-c/json-c/issues/280) - Should json_object_array_get_idx check whether input obj is array? \
|
||||||
[Issue #281](https://github.com/json-c/json-c/issues/281) - how to pretty print json-c? \
|
* [Issue #281](https://github.com/json-c/json-c/issues/281) - how to pretty print json-c? \
|
||||||
[Issue #282](https://github.com/json-c/json-c/issues/282) - ignore temporary files \
|
* [Issue #282](https://github.com/json-c/json-c/issues/282) - ignore temporary files \
|
||||||
[Issue #283](https://github.com/json-c/json-c/issues/283) - json_pointer: add first revision based on RFC 6901 \
|
* [Issue #283](https://github.com/json-c/json-c/issues/283) - json_pointer: add first revision based on RFC 6901 \
|
||||||
[Issue #284](https://github.com/json-c/json-c/issues/284) - Resusing json_tokener object \
|
* [Issue #284](https://github.com/json-c/json-c/issues/284) - Resusing json_tokener object \
|
||||||
[Issue #285](https://github.com/json-c/json-c/issues/285) - Revert "compat/strdup.h: move common compat check for strdup() to own \
|
* [Issue #285](https://github.com/json-c/json-c/issues/285) - Revert "compat/strdup.h: move common compat check for strdup() to own \
|
||||||
[Issue #286](https://github.com/json-c/json-c/issues/286) - json_tokener_parse_ex() returns json_tokener_continue on zero-length string \
|
* [Issue #286](https://github.com/json-c/json-c/issues/286) - json_tokener_parse_ex() returns json_tokener_continue on zero-length string \
|
||||||
[Issue #287](https://github.com/json-c/json-c/issues/287) - json_pointer: extend setter & getter with printf() style arguments \
|
* [Issue #287](https://github.com/json-c/json-c/issues/287) - json_pointer: extend setter & getter with printf() style arguments \
|
||||||
[Issue #288](https://github.com/json-c/json-c/issues/288) - Fix _GNU_SOURCE define for vasprintf \
|
* [Issue #288](https://github.com/json-c/json-c/issues/288) - Fix _GNU_SOURCE define for vasprintf \
|
||||||
[Issue #289](https://github.com/json-c/json-c/issues/289) - bugfix: floating point representaion without fractional part \
|
* [Issue #289](https://github.com/json-c/json-c/issues/289) - bugfix: floating point representaion without fractional part \
|
||||||
[Issue #290](https://github.com/json-c/json-c/issues/290) - duplicate an json_object \
|
* [Issue #290](https://github.com/json-c/json-c/issues/290) - duplicate an json_object \
|
||||||
[Issue #291](https://github.com/json-c/json-c/issues/291) - isspace assert error \
|
* [Issue #291](https://github.com/json-c/json-c/issues/291) - isspace assert error \
|
||||||
[Issue #292](https://github.com/json-c/json-c/issues/292) - configure error "./configure: line 13121: syntax error near unexpected token `-Wall'" \
|
* [Issue #292](https://github.com/json-c/json-c/issues/292) - configure error "./configure: line 13121: syntax error near unexpected token `-Wall'" \
|
||||||
[Issue #293](https://github.com/json-c/json-c/issues/293) - how to make with bitcode for ios \
|
* [Issue #293](https://github.com/json-c/json-c/issues/293) - how to make with bitcode for ios \
|
||||||
[Issue #294](https://github.com/json-c/json-c/issues/294) - Adding UTF-8 validation. Fixes #122 \
|
* [Issue #294](https://github.com/json-c/json-c/issues/294) - Adding UTF-8 validation. Fixes #122 \
|
||||||
[Issue #295](https://github.com/json-c/json-c/issues/295) - cross compile w/ mingw \
|
* [Issue #295](https://github.com/json-c/json-c/issues/295) - cross compile w/ mingw \
|
||||||
[Issue #296](https://github.com/json-c/json-c/issues/296) - Missing functions header in json_object.h \
|
* [Issue #296](https://github.com/json-c/json-c/issues/296) - Missing functions header in json_object.h \
|
||||||
[Issue #297](https://github.com/json-c/json-c/issues/297) - could not parse string to Json object? Like string str=\"helloworld;E\\test\\log\\;end\" \
|
* [Issue #297](https://github.com/json-c/json-c/issues/297) - could not parse string to Json object? Like string str=\"helloworld;E\\test\\log\\;end\" \
|
||||||
[Issue #298](https://github.com/json-c/json-c/issues/298) - Building using CMake doesn't work \
|
* [Issue #298](https://github.com/json-c/json-c/issues/298) - Building using CMake doesn't work \
|
||||||
[Issue #299](https://github.com/json-c/json-c/issues/299) - Improve json_object -> string performance \
|
* [Issue #299](https://github.com/json-c/json-c/issues/299) - Improve json_object -> string performance \
|
||||||
[Issue #300](https://github.com/json-c/json-c/issues/300) - Running tests with MinGW build \
|
* [Issue #300](https://github.com/json-c/json-c/issues/300) - Running tests with MinGW build \
|
||||||
[Issue #301](https://github.com/json-c/json-c/issues/301) - How to deep copy json_object in C++ ? \
|
* [Issue #301](https://github.com/json-c/json-c/issues/301) - How to deep copy json_object in C++ ? \
|
||||||
[Issue #302](https://github.com/json-c/json-c/issues/302) - json_tokener_parse_ex doesn't parse JSON values \
|
* [Issue #302](https://github.com/json-c/json-c/issues/302) - json_tokener_parse_ex doesn't parse JSON values \
|
||||||
[Issue #303](https://github.com/json-c/json-c/issues/303) - fix doc in tokener header file \
|
* [Issue #303](https://github.com/json-c/json-c/issues/303) - fix doc in tokener header file \
|
||||||
[Issue #304](https://github.com/json-c/json-c/issues/304) - (.text+0x72846): undefined reference to `is_error' \
|
* [Issue #304](https://github.com/json-c/json-c/issues/304) - (.text+0x72846): undefined reference to `is_error' \
|
||||||
[Issue #305](https://github.com/json-c/json-c/issues/305) - Fix compilation without C-99 option \
|
* [Issue #305](https://github.com/json-c/json-c/issues/305) - Fix compilation without C-99 option \
|
||||||
[Issue #306](https://github.com/json-c/json-c/issues/306) - ./configure: line 12748 -error=deprecated-declarations \
|
* [Issue #306](https://github.com/json-c/json-c/issues/306) - ./configure: line 12748 -error=deprecated-declarations \
|
||||||
[Issue #307](https://github.com/json-c/json-c/issues/307) - Memory leak in json_tokener_parse \
|
* [Issue #307](https://github.com/json-c/json-c/issues/307) - Memory leak in json_tokener_parse \
|
||||||
[Issue #308](https://github.com/json-c/json-c/issues/308) - AM_PROG_LIBTOOL not found on Linux \
|
* [Issue #308](https://github.com/json-c/json-c/issues/308) - AM_PROG_LIBTOOL not found on Linux \
|
||||||
[Issue #309](https://github.com/json-c/json-c/issues/309) - GCC 7 reports various -Wimplicit-fallthrough= errors \
|
* [Issue #309](https://github.com/json-c/json-c/issues/309) - GCC 7 reports various -Wimplicit-fallthrough= errors \
|
||||||
[Issue #310](https://github.com/json-c/json-c/issues/310) - Add FALLTHRU comment to handle GCC7 warnings. \
|
* [Issue #310](https://github.com/json-c/json-c/issues/310) - Add FALLTHRU comment to handle GCC7 warnings. \
|
||||||
[Issue #311](https://github.com/json-c/json-c/issues/311) - Fix error C3688 when compiling on Visual Studio 2015 \
|
* [Issue #311](https://github.com/json-c/json-c/issues/311) - Fix error C3688 when compiling on Visual Studio 2015 \
|
||||||
[Issue #312](https://github.com/json-c/json-c/issues/312) - Fix CMake Build process improved for MinGW and MSYS2 \
|
* [Issue #312](https://github.com/json-c/json-c/issues/312) - Fix CMake Build process improved for MinGW and MSYS2 \
|
||||||
[Issue #313](https://github.com/json-c/json-c/issues/313) - VERBOSE=1 make check; tests/test_util_file.test.c and tests/test_util_file.expected out of sync \
|
* [Issue #313](https://github.com/json-c/json-c/issues/313) - VERBOSE=1 make check; tests/test_util_file.test.c and tests/test_util_file.expected out of sync \
|
||||||
[Issue #315](https://github.com/json-c/json-c/issues/315) - Passing -1 to json_tokener_parse_ex is possibly unsafe \
|
* [Issue #315](https://github.com/json-c/json-c/issues/315) - Passing -1 to json_tokener_parse_ex is possibly unsafe \
|
||||||
[Issue #316](https://github.com/json-c/json-c/issues/316) - Memory Returned by json_object_to_json_string not freed \
|
* [Issue #316](https://github.com/json-c/json-c/issues/316) - Memory Returned by json_object_to_json_string not freed \
|
||||||
[Issue #317](https://github.com/json-c/json-c/issues/317) - json_object_get_string gives segmentation error \
|
* [Issue #317](https://github.com/json-c/json-c/issues/317) - json_object_get_string gives segmentation error \
|
||||||
[Issue #318](https://github.com/json-c/json-c/issues/318) - PVS-Studio static analyzer analyze results \
|
* [Issue #318](https://github.com/json-c/json-c/issues/318) - PVS-Studio static analyzer analyze results \
|
||||||
[Issue #319](https://github.com/json-c/json-c/issues/319) - Windows: Fix dynamic library build with Visual Studio \
|
* [Issue #319](https://github.com/json-c/json-c/issues/319) - Windows: Fix dynamic library build with Visual Studio \
|
||||||
[Issue #320](https://github.com/json-c/json-c/issues/320) - Can't compile in Mac OS X El Capitan \
|
* [Issue #320](https://github.com/json-c/json-c/issues/320) - Can't compile in Mac OS X El Capitan \
|
||||||
[Issue #321](https://github.com/json-c/json-c/issues/321) - build,cmake: fix vasprintf implicit definition and generate both static & shared libs \
|
* [Issue #321](https://github.com/json-c/json-c/issues/321) - build,cmake: fix vasprintf implicit definition and generate both static & shared libs \
|
||||||
[Issue #322](https://github.com/json-c/json-c/issues/322) - can not link with libjson-c.a \
|
* [Issue #322](https://github.com/json-c/json-c/issues/322) - can not link with libjson-c.a \
|
||||||
[Issue #323](https://github.com/json-c/json-c/issues/323) - implicit fallthrough detected by gcc 7.1 \
|
* [Issue #323](https://github.com/json-c/json-c/issues/323) - implicit fallthrough detected by gcc 7.1 \
|
||||||
[Issue #324](https://github.com/json-c/json-c/issues/324) - JsonPath like function? \
|
* [Issue #324](https://github.com/json-c/json-c/issues/324) - JsonPath like function? \
|
||||||
[Issue #325](https://github.com/json-c/json-c/issues/325) - Fix stack buffer overflow in json_object_double_to_json_string_format() \
|
* [Issue #325](https://github.com/json-c/json-c/issues/325) - Fix stack buffer overflow in json_object_double_to_json_string_format() \
|
||||||
[Issue #327](https://github.com/json-c/json-c/issues/327) - why json-c so hard to compile \
|
* [Issue #327](https://github.com/json-c/json-c/issues/327) - why json-c so hard to compile \
|
||||||
[Issue #328](https://github.com/json-c/json-c/issues/328) - json_object: implement json_object_deep_copy() function \
|
* [Issue #328](https://github.com/json-c/json-c/issues/328) - json_object: implement json_object_deep_copy() function \
|
||||||
[Issue #329](https://github.com/json-c/json-c/issues/329) - build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a \
|
* [Issue #329](https://github.com/json-c/json-c/issues/329) - build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a \
|
||||||
[Issue #330](https://github.com/json-c/json-c/issues/330) - tests: symlink basic tests to a single file that has the common code \
|
* [Issue #330](https://github.com/json-c/json-c/issues/330) - tests: symlink basic tests to a single file that has the common code \
|
||||||
[Issue #331](https://github.com/json-c/json-c/issues/331) - Safe use of snprintf() / vsnprintf() for Visual studio, and thread-safety fix \
|
* [Issue #331](https://github.com/json-c/json-c/issues/331) - Safe use of snprintf() / vsnprintf() for Visual studio, and thread-safety fix \
|
||||||
[Issue #332](https://github.com/json-c/json-c/issues/332) - Valgrind: invalid read after json_object_array_del_idx. \
|
* [Issue #332](https://github.com/json-c/json-c/issues/332) - Valgrind: invalid read after json_object_array_del_idx. \
|
||||||
[Issue #333](https://github.com/json-c/json-c/issues/333) - Replace obsolete AM_PROG_LIBTOOL \
|
* [Issue #333](https://github.com/json-c/json-c/issues/333) - Replace obsolete AM_PROG_LIBTOOL \
|
||||||
[Issue #335](https://github.com/json-c/json-c/issues/335) - README.md: show build status tag from travis-ci.org \
|
* [Issue #335](https://github.com/json-c/json-c/issues/335) - README.md: show build status tag from travis-ci.org \
|
||||||
[Issue #336](https://github.com/json-c/json-c/issues/336) - tests: fix tests in travis-ci.org \
|
* [Issue #336](https://github.com/json-c/json-c/issues/336) - tests: fix tests in travis-ci.org \
|
||||||
[Issue #337](https://github.com/json-c/json-c/issues/337) - Synchronize "potentially racy" random seed in lh_char_hash() \
|
* [Issue #337](https://github.com/json-c/json-c/issues/337) - Synchronize "potentially racy" random seed in lh_char_hash() \
|
||||||
[Issue #338](https://github.com/json-c/json-c/issues/338) - implement json_object_int_inc(json_object *, int64_t) \
|
* [Issue #338](https://github.com/json-c/json-c/issues/338) - implement json_object_int_inc(json_object *, int64_t) \
|
||||||
[Issue #339](https://github.com/json-c/json-c/issues/339) - Json schema validation \
|
* [Issue #339](https://github.com/json-c/json-c/issues/339) - Json schema validation \
|
||||||
[Issue #340](https://github.com/json-c/json-c/issues/340) - strerror_override: add extern "C" and JSON_EXPORT specifiers for Visual C++ compilers \
|
* [Issue #340](https://github.com/json-c/json-c/issues/340) - strerror_override: add extern "C" and JSON_EXPORT specifiers for Visual C++ compilers \
|
||||||
[Issue #341](https://github.com/json-c/json-c/issues/341) - character "/" parse as "\/" \
|
* [Issue #341](https://github.com/json-c/json-c/issues/341) - character "/" parse as "\/" \
|
||||||
[Issue #342](https://github.com/json-c/json-c/issues/342) - No such file or directory "/usr/include/json.h" \
|
* [Issue #342](https://github.com/json-c/json-c/issues/342) - No such file or directory "/usr/include/json.h" \
|
||||||
[Issue #343](https://github.com/json-c/json-c/issues/343) - Can't parse json \
|
* [Issue #343](https://github.com/json-c/json-c/issues/343) - Can't parse json \
|
||||||
[Issue #344](https://github.com/json-c/json-c/issues/344) - Fix Mingw build \
|
* [Issue #344](https://github.com/json-c/json-c/issues/344) - Fix Mingw build \
|
||||||
[Issue #345](https://github.com/json-c/json-c/issues/345) - Fix make dist and make distcheck \
|
* [Issue #345](https://github.com/json-c/json-c/issues/345) - Fix make dist and make distcheck \
|
||||||
[Issue #346](https://github.com/json-c/json-c/issues/346) - Clamp double to int32 when narrowing in json_object_get_int. \
|
* [Issue #346](https://github.com/json-c/json-c/issues/346) - Clamp double to int32 when narrowing in json_object_get_int. \
|
||||||
[Issue #347](https://github.com/json-c/json-c/issues/347) - MSVC linker error json_c_strerror \
|
* [Issue #347](https://github.com/json-c/json-c/issues/347) - MSVC linker error json_c_strerror \
|
||||||
[Issue #348](https://github.com/json-c/json-c/issues/348) - why \
|
* [Issue #348](https://github.com/json-c/json-c/issues/348) - why \
|
||||||
[Issue #349](https://github.com/json-c/json-c/issues/349) - `missing` is missing? \
|
* [Issue #349](https://github.com/json-c/json-c/issues/349) - `missing` is missing? \
|
||||||
[Issue #350](https://github.com/json-c/json-c/issues/350) - stderror-override and disable-shared \
|
* [Issue #350](https://github.com/json-c/json-c/issues/350) - stderror-override and disable-shared \
|
||||||
[Issue #351](https://github.com/json-c/json-c/issues/351) - SIZE_T_MAX redefined from limits.h \
|
* [Issue #351](https://github.com/json-c/json-c/issues/351) - SIZE_T_MAX redefined from limits.h \
|
||||||
[Issue #352](https://github.com/json-c/json-c/issues/352) - `INSTALL` overrides an automake script. \
|
* [Issue #352](https://github.com/json-c/json-c/issues/352) - `INSTALL` overrides an automake script. \
|
||||||
[Issue #353](https://github.com/json-c/json-c/issues/353) - Documentation issues \
|
* [Issue #353](https://github.com/json-c/json-c/issues/353) - Documentation issues \
|
||||||
[Issue #354](https://github.com/json-c/json-c/issues/354) - Fixes #351 #352 #353 \
|
* [Issue #354](https://github.com/json-c/json-c/issues/354) - Fixes #351 #352 #353 \
|
||||||
[Issue #355](https://github.com/json-c/json-c/issues/355) - 1.make it can been compiled with Visual Studio 2010 by modify the CMakeList.txt and others \
|
* [Issue #355](https://github.com/json-c/json-c/issues/355) - 1.make it can been compiled with Visual Studio 2010 by modify the CMakeList.txt and others \
|
||||||
[Issue #356](https://github.com/json-c/json-c/issues/356) - VS2008 test test_util_file.cpp err! \
|
* [Issue #356](https://github.com/json-c/json-c/issues/356) - VS2008 test test_util_file.cpp err! \
|
||||||
[Issue #357](https://github.com/json-c/json-c/issues/357) - __json_c_strerror incompatibility with link-time optimization \
|
* [Issue #357](https://github.com/json-c/json-c/issues/357) - __json_c_strerror incompatibility with link-time optimization \
|
||||||
[Issue #358](https://github.com/json-c/json-c/issues/358) - make issue \
|
* [Issue #358](https://github.com/json-c/json-c/issues/358) - make issue \
|
||||||
[Issue #359](https://github.com/json-c/json-c/issues/359) - update CMakeLists.txt for compile with visual studio at least 2010 \
|
* [Issue #359](https://github.com/json-c/json-c/issues/359) - update CMakeLists.txt for compile with visual studio at least 2010 \
|
||||||
[Issue #360](https://github.com/json-c/json-c/issues/360) - Use strtoll() to parse ints \
|
* [Issue #360](https://github.com/json-c/json-c/issues/360) - Use strtoll() to parse ints \
|
||||||
[Issue #361](https://github.com/json-c/json-c/issues/361) - Fix double to int cast overflow in json_object_get_int64. \
|
* [Issue #361](https://github.com/json-c/json-c/issues/361) - Fix double to int cast overflow in json_object_get_int64. \
|
||||||
[Issue #362](https://github.com/json-c/json-c/issues/362) - CMake Package Config \
|
* [Issue #362](https://github.com/json-c/json-c/issues/362) - CMake Package Config \
|
||||||
[Issue #363](https://github.com/json-c/json-c/issues/363) - Issue #338, add json_object_add_int functions \
|
* [Issue #363](https://github.com/json-c/json-c/issues/363) - Issue #338, add json_object_add_int functions \
|
||||||
[Issue #364](https://github.com/json-c/json-c/issues/364) - Cmake is Errir \
|
* [Issue #364](https://github.com/json-c/json-c/issues/364) - Cmake is Errir \
|
||||||
[Issue #365](https://github.com/json-c/json-c/issues/365) - added fallthrough for gcc7 \
|
* [Issue #365](https://github.com/json-c/json-c/issues/365) - added fallthrough for gcc7 \
|
||||||
[Issue #366](https://github.com/json-c/json-c/issues/366) - how to check the json string,crash! \
|
* [Issue #366](https://github.com/json-c/json-c/issues/366) - how to check the json string,crash! \
|
||||||
[Issue #367](https://github.com/json-c/json-c/issues/367) - Is json-c support "redirect" semantic? \
|
* [Issue #367](https://github.com/json-c/json-c/issues/367) - Is json-c support "redirect" semantic? \
|
||||||
[Issue #368](https://github.com/json-c/json-c/issues/368) - Add examples \
|
* [Issue #368](https://github.com/json-c/json-c/issues/368) - Add examples \
|
||||||
[Issue #369](https://github.com/json-c/json-c/issues/369) - How to build json-c library for android? \
|
* [Issue #369](https://github.com/json-c/json-c/issues/369) - How to build json-c library for android? \
|
||||||
[Issue #370](https://github.com/json-c/json-c/issues/370) - Compiling using clang-cl \
|
* [Issue #370](https://github.com/json-c/json-c/issues/370) - Compiling using clang-cl \
|
||||||
[Issue #371](https://github.com/json-c/json-c/issues/371) - Invalid parsing for Infinity with json-c 0.12 \
|
* [Issue #371](https://github.com/json-c/json-c/issues/371) - Invalid parsing for Infinity with json-c 0.12 \
|
||||||
[Issue #372](https://github.com/json-c/json-c/issues/372) - Json-c 0.12: Fixed Infinity bug \
|
* [Issue #372](https://github.com/json-c/json-c/issues/372) - Json-c 0.12: Fixed Infinity bug \
|
||||||
[Issue #373](https://github.com/json-c/json-c/issues/373) - build: fix build on appveyor CI \
|
* [Issue #373](https://github.com/json-c/json-c/issues/373) - build: fix build on appveyor CI \
|
||||||
[Issue #374](https://github.com/json-c/json-c/issues/374) - Undefined symbols for architecture x86_64: \
|
* [Issue #374](https://github.com/json-c/json-c/issues/374) - Undefined symbols for architecture x86_64: \
|
||||||
[Issue #375](https://github.com/json-c/json-c/issues/375) - what would happened when json_object_object_add add the same key \
|
* [Issue #375](https://github.com/json-c/json-c/issues/375) - what would happened when json_object_object_add add the same key \
|
||||||
[Issue #376](https://github.com/json-c/json-c/issues/376) - Eclipse error \
|
* [Issue #376](https://github.com/json-c/json-c/issues/376) - Eclipse error \
|
||||||
[Issue #377](https://github.com/json-c/json-c/issues/377) - on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source \
|
* [Issue #377](https://github.com/json-c/json-c/issues/377) - on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source \
|
||||||
[Issue #378](https://github.com/json-c/json-c/issues/378) - Eclipse: library (libjson-c) not found, but configured \
|
* [Issue #378](https://github.com/json-c/json-c/issues/378) - Eclipse: library (libjson-c) not found, but configured \
|
||||||
[Issue #379](https://github.com/json-c/json-c/issues/379) - error: this statement may fall through \[-Werror=implicit-fallthrough=\] \
|
* [Issue #379](https://github.com/json-c/json-c/issues/379) - error: this statement may fall through \[-Werror=implicit-fallthrough=\] \
|
||||||
[Issue #380](https://github.com/json-c/json-c/issues/380) - Build on Windows \
|
* [Issue #380](https://github.com/json-c/json-c/issues/380) - Build on Windows \
|
||||||
[Issue #381](https://github.com/json-c/json-c/issues/381) - Fix makedist \
|
* [Issue #381](https://github.com/json-c/json-c/issues/381) - Fix makedist \
|
||||||
[Issue #382](https://github.com/json-c/json-c/issues/382) - Memory leak for json_tokener_parse_ex for version 0.12.1 \
|
* [Issue #382](https://github.com/json-c/json-c/issues/382) - Memory leak for json_tokener_parse_ex for version 0.12.1 \
|
||||||
[Issue #383](https://github.com/json-c/json-c/issues/383) - Fix a compiler warning. \
|
* [Issue #383](https://github.com/json-c/json-c/issues/383) - Fix a compiler warning. \
|
||||||
[Issue #384](https://github.com/json-c/json-c/issues/384) - Fix a VS 2015 compiler warnings. \
|
* [Issue #384](https://github.com/json-c/json-c/issues/384) - Fix a VS 2015 compiler warnings. \
|
||||||
|
|||||||
@@ -14,189 +14,189 @@ sed -e's,^\[ *\(.*\)\](https://api.github.com/.*/\([0-9].*\)),[Issue #\2](https:
|
|||||||
Issues and Pull Requests closed for the 0.14 release (since commit d582d3a(2017-12-07) to a911439(2020-04-17))
|
Issues and Pull Requests closed for the 0.14 release (since commit d582d3a(2017-12-07) to a911439(2020-04-17))
|
||||||
|
|
||||||
|
|
||||||
[Issue #122](https://github.com/json-c/json-c/issues/122) - Add utf-8 validation when parsing strings. \
|
* [Issue #122](https://github.com/json-c/json-c/issues/122) - Add utf-8 validation when parsing strings. \
|
||||||
[Issue #139](https://github.com/json-c/json-c/issues/139) - json_object_from_file cannot accept max_depth \
|
* [Issue #139](https://github.com/json-c/json-c/issues/139) - json_object_from_file cannot accept max_depth \
|
||||||
[Issue #143](https://github.com/json-c/json-c/issues/143) - RFE / enhancement for full 64-bit signed/unsigned support \
|
* [Issue #143](https://github.com/json-c/json-c/issues/143) - RFE / enhancement for full 64-bit signed/unsigned support \
|
||||||
[Issue #147](https://github.com/json-c/json-c/issues/147) - Please introduce soname bump if API changed \
|
* [Issue #147](https://github.com/json-c/json-c/issues/147) - Please introduce soname bump if API changed \
|
||||||
[Issue #166](https://github.com/json-c/json-c/issues/166) - Need a way to specify nesting depth when opening JSON file \
|
* [Issue #166](https://github.com/json-c/json-c/issues/166) - Need a way to specify nesting depth when opening JSON file \
|
||||||
[Issue #226](https://github.com/json-c/json-c/issues/226) - There is no json_object_new_null() \
|
* [Issue #226](https://github.com/json-c/json-c/issues/226) - There is no json_object_new_null() \
|
||||||
[Issue #314](https://github.com/json-c/json-c/issues/314) - new release ? \
|
* [Issue #314](https://github.com/json-c/json-c/issues/314) - new release ? \
|
||||||
[Issue #326](https://github.com/json-c/json-c/issues/326) - Please extend api json_object_get_uint64 \
|
* [Issue #326](https://github.com/json-c/json-c/issues/326) - Please extend api json_object_get_uint64 \
|
||||||
[Issue #334](https://github.com/json-c/json-c/issues/334) - Switch json-c builds to use CMake \
|
* [Issue #334](https://github.com/json-c/json-c/issues/334) - Switch json-c builds to use CMake \
|
||||||
[Issue #386](https://github.com/json-c/json-c/issues/386) - Makefile: Add ACLOCAL_AMFLAGS \
|
* [Issue #386](https://github.com/json-c/json-c/issues/386) - Makefile: Add ACLOCAL_AMFLAGS \
|
||||||
[Issue #387](https://github.com/json-c/json-c/issues/387) - doc: Use other doxygen feature to specify mainpage \
|
* [Issue #387](https://github.com/json-c/json-c/issues/387) - doc: Use other doxygen feature to specify mainpage \
|
||||||
[Issue #388](https://github.com/json-c/json-c/issues/388) - json_object: Add size_t json_object_sizeof() \
|
* [Issue #388](https://github.com/json-c/json-c/issues/388) - json_object: Add size_t json_object_sizeof() \
|
||||||
[Issue #389](https://github.com/json-c/json-c/issues/389) - json_object: Avoid double free (and thus a segfault) when ref_count gets < 0 \
|
* [Issue #389](https://github.com/json-c/json-c/issues/389) - json_object: Avoid double free (and thus a segfault) when ref_count gets < 0 \
|
||||||
[Issue #390](https://github.com/json-c/json-c/issues/390) - json_object: Add const size_t json_c_object_sizeof() \
|
* [Issue #390](https://github.com/json-c/json-c/issues/390) - json_object: Add const size_t json_c_object_sizeof() \
|
||||||
[Issue #391](https://github.com/json-c/json-c/issues/391) - Fix non-GNUC define for JSON_C_CONST_FUNCTION \
|
* [Issue #391](https://github.com/json-c/json-c/issues/391) - Fix non-GNUC define for JSON_C_CONST_FUNCTION \
|
||||||
[Issue #392](https://github.com/json-c/json-c/issues/392) - json_object: Avoid invalid free (and thus a segfault) when ref_count gets < 0 \
|
* [Issue #392](https://github.com/json-c/json-c/issues/392) - json_object: Avoid invalid free (and thus a segfault) when ref_count gets < 0 \
|
||||||
[Issue #393](https://github.com/json-c/json-c/issues/393) - json_object_private: Use unsigned 32-bit integer type for refcount \
|
* [Issue #393](https://github.com/json-c/json-c/issues/393) - json_object_private: Use unsigned 32-bit integer type for refcount \
|
||||||
[Issue #394](https://github.com/json-c/json-c/issues/394) - Problem serializing double \
|
* [Issue #394](https://github.com/json-c/json-c/issues/394) - Problem serializing double \
|
||||||
[Issue #395](https://github.com/json-c/json-c/issues/395) - Key gets modified if it contains "\" \
|
* [Issue #395](https://github.com/json-c/json-c/issues/395) - Key gets modified if it contains "\" \
|
||||||
[Issue #396](https://github.com/json-c/json-c/issues/396) - Build failure with no threads uClibc toolchain \
|
* [Issue #396](https://github.com/json-c/json-c/issues/396) - Build failure with no threads uClibc toolchain \
|
||||||
[Issue #397](https://github.com/json-c/json-c/issues/397) - update json object with key. \
|
* [Issue #397](https://github.com/json-c/json-c/issues/397) - update json object with key. \
|
||||||
[Issue #398](https://github.com/json-c/json-c/issues/398) - Build failed. \
|
* [Issue #398](https://github.com/json-c/json-c/issues/398) - Build failed. \
|
||||||
[Issue #399](https://github.com/json-c/json-c/issues/399) - Avoid uninitialized variable warnings \
|
* [Issue #399](https://github.com/json-c/json-c/issues/399) - Avoid uninitialized variable warnings \
|
||||||
[Issue #400](https://github.com/json-c/json-c/issues/400) - How to generate static lib (.a) \
|
* [Issue #400](https://github.com/json-c/json-c/issues/400) - How to generate static lib (.a) \
|
||||||
[Issue #401](https://github.com/json-c/json-c/issues/401) - Warnings with Valgrind \
|
* [Issue #401](https://github.com/json-c/json-c/issues/401) - Warnings with Valgrind \
|
||||||
[Issue #402](https://github.com/json-c/json-c/issues/402) - Add fuzzers from OSS-Fuzz \
|
* [Issue #402](https://github.com/json-c/json-c/issues/402) - Add fuzzers from OSS-Fuzz \
|
||||||
[Issue #403](https://github.com/json-c/json-c/issues/403) - Segmentation fault when double quotes is used \
|
* [Issue #403](https://github.com/json-c/json-c/issues/403) - Segmentation fault when double quotes is used \
|
||||||
[Issue #404](https://github.com/json-c/json-c/issues/404) - valgrind: memory leak \
|
* [Issue #404](https://github.com/json-c/json-c/issues/404) - valgrind: memory leak \
|
||||||
[Issue #405](https://github.com/json-c/json-c/issues/405) - Missing API to determine an object is empty \
|
* [Issue #405](https://github.com/json-c/json-c/issues/405) - Missing API to determine an object is empty \
|
||||||
[Issue #406](https://github.com/json-c/json-c/issues/406) - Undefine NDEBUG for tests \
|
* [Issue #406](https://github.com/json-c/json-c/issues/406) - Undefine NDEBUG for tests \
|
||||||
[Issue #407](https://github.com/json-c/json-c/issues/407) - json_tokener_parse is crash \
|
* [Issue #407](https://github.com/json-c/json-c/issues/407) - json_tokener_parse is crash \
|
||||||
[Issue #408](https://github.com/json-c/json-c/issues/408) - bug in array_list_del_idx when array_list_length()==1 \
|
* [Issue #408](https://github.com/json-c/json-c/issues/408) - bug in array_list_del_idx when array_list_length()==1 \
|
||||||
[Issue #410](https://github.com/json-c/json-c/issues/410) - Fixed typos \
|
* [Issue #410](https://github.com/json-c/json-c/issues/410) - Fixed typos \
|
||||||
[Issue #411](https://github.com/json-c/json-c/issues/411) - Crash- signal SIGSEGV, Segmentation fault. ../sysdeps/x86_64/strlen.S: No such file or directory. \
|
* [Issue #411](https://github.com/json-c/json-c/issues/411) - Crash- signal SIGSEGV, Segmentation fault. ../sysdeps/x86_64/strlen.S: No such file or directory. \
|
||||||
[Issue #412](https://github.com/json-c/json-c/issues/412) - json_type changes during inter process communication. \
|
* [Issue #412](https://github.com/json-c/json-c/issues/412) - json_type changes during inter process communication. \
|
||||||
[Issue #413](https://github.com/json-c/json-c/issues/413) - how to read object of type `json_object *` in c++ \
|
* [Issue #413](https://github.com/json-c/json-c/issues/413) - how to read object of type `json_object *` in c++ \
|
||||||
[Issue #414](https://github.com/json-c/json-c/issues/414) - [Question] How JSON-c stores the serialized data in memory? \
|
* [Issue #414](https://github.com/json-c/json-c/issues/414) - [Question] How JSON-c stores the serialized data in memory? \
|
||||||
[Issue #415](https://github.com/json-c/json-c/issues/415) - Resolve windows name conflict \
|
* [Issue #415](https://github.com/json-c/json-c/issues/415) - Resolve windows name conflict \
|
||||||
[Issue #416](https://github.com/json-c/json-c/issues/416) - segmentation fault in json_tokener_parse \
|
* [Issue #416](https://github.com/json-c/json-c/issues/416) - segmentation fault in json_tokener_parse \
|
||||||
[Issue #417](https://github.com/json-c/json-c/issues/417) - json_tokener_parse json_object_object_get_ex with string value which is json string \
|
* [Issue #417](https://github.com/json-c/json-c/issues/417) - json_tokener_parse json_object_object_get_ex with string value which is json string \
|
||||||
[Issue #418](https://github.com/json-c/json-c/issues/418) - json_object_from_* return value documented incorrectly \
|
* [Issue #418](https://github.com/json-c/json-c/issues/418) - json_object_from_* return value documented incorrectly \
|
||||||
[Issue #419](https://github.com/json-c/json-c/issues/419) - Suggestion: document (and define) that json_object_put() accepts NULL pointer to object \
|
* [Issue #419](https://github.com/json-c/json-c/issues/419) - Suggestion: document (and define) that json_object_put() accepts NULL pointer to object \
|
||||||
[Issue #420](https://github.com/json-c/json-c/issues/420) - arraylist: Fixed names of parameters for callback function \
|
* [Issue #420](https://github.com/json-c/json-c/issues/420) - arraylist: Fixed names of parameters for callback function \
|
||||||
[Issue #421](https://github.com/json-c/json-c/issues/421) - install json_object_iterator.h header file \
|
* [Issue #421](https://github.com/json-c/json-c/issues/421) - install json_object_iterator.h header file \
|
||||||
[Issue #422](https://github.com/json-c/json-c/issues/422) - json_object_get_double() does not set errno when there is no valid conversion \
|
* [Issue #422](https://github.com/json-c/json-c/issues/422) - json_object_get_double() does not set errno when there is no valid conversion \
|
||||||
[Issue #423](https://github.com/json-c/json-c/issues/423) - memory leak \
|
* [Issue #423](https://github.com/json-c/json-c/issues/423) - memory leak \
|
||||||
[Issue #424](https://github.com/json-c/json-c/issues/424) - Parse string contains "\" or "/" errors \
|
* [Issue #424](https://github.com/json-c/json-c/issues/424) - Parse string contains "\" or "/" errors \
|
||||||
[Issue #425](https://github.com/json-c/json-c/issues/425) - what this is? \
|
* [Issue #425](https://github.com/json-c/json-c/issues/425) - what this is? \
|
||||||
[Issue #426](https://github.com/json-c/json-c/issues/426) - __deprecated not supported on clang. \
|
* [Issue #426](https://github.com/json-c/json-c/issues/426) - __deprecated not supported on clang. \
|
||||||
[Issue #427](https://github.com/json-c/json-c/issues/427) - CMake: builds involving this target will not be correct \
|
* [Issue #427](https://github.com/json-c/json-c/issues/427) - CMake: builds involving this target will not be correct \
|
||||||
[Issue #430](https://github.com/json-c/json-c/issues/430) - json_object_object_del() and Segmentation fault \
|
* [Issue #430](https://github.com/json-c/json-c/issues/430) - json_object_object_del() and Segmentation fault \
|
||||||
[Issue #431](https://github.com/json-c/json-c/issues/431) - cmake: Bump required version \
|
* [Issue #431](https://github.com/json-c/json-c/issues/431) - cmake: Bump required version \
|
||||||
[Issue #432](https://github.com/json-c/json-c/issues/432) - The real CMake support. \
|
* [Issue #432](https://github.com/json-c/json-c/issues/432) - The real CMake support. \
|
||||||
[Issue #433](https://github.com/json-c/json-c/issues/433) - The real CMake support. \
|
* [Issue #433](https://github.com/json-c/json-c/issues/433) - The real CMake support. \
|
||||||
[Issue #434](https://github.com/json-c/json-c/issues/434) - The real CMake support \
|
* [Issue #434](https://github.com/json-c/json-c/issues/434) - The real CMake support \
|
||||||
[Issue #435](https://github.com/json-c/json-c/issues/435) - json_object_object_del() segmentation fault \
|
* [Issue #435](https://github.com/json-c/json-c/issues/435) - json_object_object_del() segmentation fault \
|
||||||
[Issue #436](https://github.com/json-c/json-c/issues/436) - Improve pkgconfig setting \
|
* [Issue #436](https://github.com/json-c/json-c/issues/436) - Improve pkgconfig setting \
|
||||||
[Issue #437](https://github.com/json-c/json-c/issues/437) - Bad link in README.md \
|
* [Issue #437](https://github.com/json-c/json-c/issues/437) - Bad link in README.md \
|
||||||
[Issue #438](https://github.com/json-c/json-c/issues/438) - Bad link in README.html \
|
* [Issue #438](https://github.com/json-c/json-c/issues/438) - Bad link in README.html \
|
||||||
[Issue #439](https://github.com/json-c/json-c/issues/439) - reserved identifier violation \
|
* [Issue #439](https://github.com/json-c/json-c/issues/439) - reserved identifier violation \
|
||||||
[Issue #440](https://github.com/json-c/json-c/issues/440) - Use of angle brackets around file names for include statements \
|
* [Issue #440](https://github.com/json-c/json-c/issues/440) - Use of angle brackets around file names for include statements \
|
||||||
[Issue #441](https://github.com/json-c/json-c/issues/441) - fix c flag loss during cmake building \
|
* [Issue #441](https://github.com/json-c/json-c/issues/441) - fix c flag loss during cmake building \
|
||||||
[Issue #442](https://github.com/json-c/json-c/issues/442) - error in configure file \
|
* [Issue #442](https://github.com/json-c/json-c/issues/442) - error in configure file \
|
||||||
[Issue #443](https://github.com/json-c/json-c/issues/443) - remove pretty spaces when using pretty tabs \
|
* [Issue #443](https://github.com/json-c/json-c/issues/443) - remove pretty spaces when using pretty tabs \
|
||||||
[Issue #444](https://github.com/json-c/json-c/issues/444) - Document refcount of json_tokener_parse_ex return \
|
* [Issue #444](https://github.com/json-c/json-c/issues/444) - Document refcount of json_tokener_parse_ex return \
|
||||||
[Issue #445](https://github.com/json-c/json-c/issues/445) - Add missing "make check" target to cmake config \
|
* [Issue #445](https://github.com/json-c/json-c/issues/445) - Add missing "make check" target to cmake config \
|
||||||
[Issue #446](https://github.com/json-c/json-c/issues/446) - Forward slashes get escaped \
|
* [Issue #446](https://github.com/json-c/json-c/issues/446) - Forward slashes get escaped \
|
||||||
[Issue #448](https://github.com/json-c/json-c/issues/448) - Buffer overflow in json-c \
|
* [Issue #448](https://github.com/json-c/json-c/issues/448) - Buffer overflow in json-c \
|
||||||
[Issue #449](https://github.com/json-c/json-c/issues/449) - Need of json_type_int64 returned by json_object_get_type() \
|
* [Issue #449](https://github.com/json-c/json-c/issues/449) - Need of json_type_int64 returned by json_object_get_type() \
|
||||||
[Issue #450](https://github.com/json-c/json-c/issues/450) - Allow use json-c cmake as subproject \
|
* [Issue #450](https://github.com/json-c/json-c/issues/450) - Allow use json-c cmake as subproject \
|
||||||
[Issue #452](https://github.com/json-c/json-c/issues/452) - Update README.md \
|
* [Issue #452](https://github.com/json-c/json-c/issues/452) - Update README.md \
|
||||||
[Issue #453](https://github.com/json-c/json-c/issues/453) - Fixed misalignment in JSON string due to space after \n being printed... \
|
* [Issue #453](https://github.com/json-c/json-c/issues/453) - Fixed misalignment in JSON string due to space after \n being printed... \
|
||||||
[Issue #454](https://github.com/json-c/json-c/issues/454) - json_object_private: save 8 bytes in struct json_object in 64-bit arc… \
|
* [Issue #454](https://github.com/json-c/json-c/issues/454) - json_object_private: save 8 bytes in struct json_object in 64-bit arc… \
|
||||||
[Issue #455](https://github.com/json-c/json-c/issues/455) - index.html:fix dead link \
|
* [Issue #455](https://github.com/json-c/json-c/issues/455) - index.html:fix dead link \
|
||||||
[Issue #456](https://github.com/json-c/json-c/issues/456) - STYLE.txt:remove executable permissions \
|
* [Issue #456](https://github.com/json-c/json-c/issues/456) - STYLE.txt:remove executable permissions \
|
||||||
[Issue #457](https://github.com/json-c/json-c/issues/457) - .gitignore:add build directory \
|
* [Issue #457](https://github.com/json-c/json-c/issues/457) - .gitignore:add build directory \
|
||||||
[Issue #458](https://github.com/json-c/json-c/issues/458) - README.md:fix dead "file.html" link \
|
* [Issue #458](https://github.com/json-c/json-c/issues/458) - README.md:fix dead "file.html" link \
|
||||||
[Issue #459](https://github.com/json-c/json-c/issues/459) - README.html:fix link to Doxygen docs, remove WIN32 link \
|
* [Issue #459](https://github.com/json-c/json-c/issues/459) - README.html:fix link to Doxygen docs, remove WIN32 link \
|
||||||
[Issue #460](https://github.com/json-c/json-c/issues/460) - No docs for json_object_new_string_len() \
|
* [Issue #460](https://github.com/json-c/json-c/issues/460) - No docs for json_object_new_string_len() \
|
||||||
[Issue #461](https://github.com/json-c/json-c/issues/461) - json_object.c:set errno in json_object_get_double() \
|
* [Issue #461](https://github.com/json-c/json-c/issues/461) - json_object.c:set errno in json_object_get_double() \
|
||||||
[Issue #462](https://github.com/json-c/json-c/issues/462) - json_object.h:document json_object_new_string_len() \
|
* [Issue #462](https://github.com/json-c/json-c/issues/462) - json_object.h:document json_object_new_string_len() \
|
||||||
[Issue #463](https://github.com/json-c/json-c/issues/463) - please check newlocale api first argument valuse. \
|
* [Issue #463](https://github.com/json-c/json-c/issues/463) - please check newlocale api first argument valuse. \
|
||||||
[Issue #465](https://github.com/json-c/json-c/issues/465) - CMakeLists.txt doesn't contain json_object_iterator.h which json.h includes \
|
* [Issue #465](https://github.com/json-c/json-c/issues/465) - CMakeLists.txt doesn't contain json_object_iterator.h which json.h includes \
|
||||||
[Issue #466](https://github.com/json-c/json-c/issues/466) - configure:3610: error: C compiler cannot create executables \
|
* [Issue #466](https://github.com/json-c/json-c/issues/466) - configure:3610: error: C compiler cannot create executables \
|
||||||
[Issue #467](https://github.com/json-c/json-c/issues/467) - Fix compiler warnings \
|
* [Issue #467](https://github.com/json-c/json-c/issues/467) - Fix compiler warnings \
|
||||||
[Issue #468](https://github.com/json-c/json-c/issues/468) - Fix compiler warnings \
|
* [Issue #468](https://github.com/json-c/json-c/issues/468) - Fix compiler warnings \
|
||||||
[Issue #469](https://github.com/json-c/json-c/issues/469) - Build under alpine with pecl install & docker-php-ext-enable? \
|
* [Issue #469](https://github.com/json-c/json-c/issues/469) - Build under alpine with pecl install & docker-php-ext-enable? \
|
||||||
[Issue #470](https://github.com/json-c/json-c/issues/470) - cfuhash_foreach_remove doesn't upate cfuhash_num_entries \
|
* [Issue #470](https://github.com/json-c/json-c/issues/470) - cfuhash_foreach_remove doesn't upate cfuhash_num_entries \
|
||||||
[Issue #472](https://github.com/json-c/json-c/issues/472) - Segmentation fault in json_object_iter_begin \
|
* [Issue #472](https://github.com/json-c/json-c/issues/472) - Segmentation fault in json_object_iter_begin \
|
||||||
[Issue #473](https://github.com/json-c/json-c/issues/473) - Convert ChangeLog to valid UTF-8 encoding. \
|
* [Issue #473](https://github.com/json-c/json-c/issues/473) - Convert ChangeLog to valid UTF-8 encoding. \
|
||||||
[Issue #474](https://github.com/json-c/json-c/issues/474) - Installation directories empty with CMake in pkg-config. \
|
* [Issue #474](https://github.com/json-c/json-c/issues/474) - Installation directories empty with CMake in pkg-config. \
|
||||||
[Issue #475](https://github.com/json-c/json-c/issues/475) - improvement proposal for json_object_object_foreach \
|
* [Issue #475](https://github.com/json-c/json-c/issues/475) - improvement proposal for json_object_object_foreach \
|
||||||
[Issue #477](https://github.com/json-c/json-c/issues/477) - Hang/Crash with large strings \
|
* [Issue #477](https://github.com/json-c/json-c/issues/477) - Hang/Crash with large strings \
|
||||||
[Issue #478](https://github.com/json-c/json-c/issues/478) - json_object_get_string_len returns 0 when value is number \
|
* [Issue #478](https://github.com/json-c/json-c/issues/478) - json_object_get_string_len returns 0 when value is number \
|
||||||
[Issue #479](https://github.com/json-c/json-c/issues/479) - I want to use it in iOS or Android but I can't compile \
|
* [Issue #479](https://github.com/json-c/json-c/issues/479) - I want to use it in iOS or Android but I can't compile \
|
||||||
[Issue #480](https://github.com/json-c/json-c/issues/480) - json-c-0.12.1 failed making from source code \
|
* [Issue #480](https://github.com/json-c/json-c/issues/480) - json-c-0.12.1 failed making from source code \
|
||||||
[Issue #481](https://github.com/json-c/json-c/issues/481) - error while loading shared libraries: libjson-c.so.4 \
|
* [Issue #481](https://github.com/json-c/json-c/issues/481) - error while loading shared libraries: libjson-c.so.4 \
|
||||||
[Issue #482](https://github.com/json-c/json-c/issues/482) - Error "double free or corruption" after free() \
|
* [Issue #482](https://github.com/json-c/json-c/issues/482) - Error "double free or corruption" after free() \
|
||||||
[Issue #483](https://github.com/json-c/json-c/issues/483) - compatible with rarely-used Chinese characters in GBK charset \
|
* [Issue #483](https://github.com/json-c/json-c/issues/483) - compatible with rarely-used Chinese characters in GBK charset \
|
||||||
[Issue #485](https://github.com/json-c/json-c/issues/485) - Install CMake module files \
|
* [Issue #485](https://github.com/json-c/json-c/issues/485) - Install CMake module files \
|
||||||
[Issue #486](https://github.com/json-c/json-c/issues/486) - In the case of negative double value, it is formatted without including ".0" \
|
* [Issue #486](https://github.com/json-c/json-c/issues/486) - In the case of negative double value, it is formatted without including ".0" \
|
||||||
[Issue #488](https://github.com/json-c/json-c/issues/488) - Some APIs are not exported when built as shared lib on Win32 \
|
* [Issue #488](https://github.com/json-c/json-c/issues/488) - Some APIs are not exported when built as shared lib on Win32 \
|
||||||
[Issue #489](https://github.com/json-c/json-c/issues/489) - Don't use -Werror by default \
|
* [Issue #489](https://github.com/json-c/json-c/issues/489) - Don't use -Werror by default \
|
||||||
[Issue #490](https://github.com/json-c/json-c/issues/490) - do not compile with -Werror by default \
|
* [Issue #490](https://github.com/json-c/json-c/issues/490) - do not compile with -Werror by default \
|
||||||
[Issue #491](https://github.com/json-c/json-c/issues/491) - build: add option --disable-werror to configure \
|
* [Issue #491](https://github.com/json-c/json-c/issues/491) - build: add option --disable-werror to configure \
|
||||||
[Issue #492](https://github.com/json-c/json-c/issues/492) - lack some quick usage in readme \
|
* [Issue #492](https://github.com/json-c/json-c/issues/492) - lack some quick usage in readme \
|
||||||
[Issue #494](https://github.com/json-c/json-c/issues/494) - Code generator? \
|
* [Issue #494](https://github.com/json-c/json-c/issues/494) - Code generator? \
|
||||||
[Issue #495](https://github.com/json-c/json-c/issues/495) - README.md:fix 2 typos \
|
* [Issue #495](https://github.com/json-c/json-c/issues/495) - README.md:fix 2 typos \
|
||||||
[Issue #496](https://github.com/json-c/json-c/issues/496) - json_pointer.h:suggest minor grammar improvement for pointer doc \
|
* [Issue #496](https://github.com/json-c/json-c/issues/496) - json_pointer.h:suggest minor grammar improvement for pointer doc \
|
||||||
[Issue #497](https://github.com/json-c/json-c/issues/497) - add common header for all tests \
|
* [Issue #497](https://github.com/json-c/json-c/issues/497) - add common header for all tests \
|
||||||
[Issue #498](https://github.com/json-c/json-c/issues/498) - double_serializer_test fails (with valgrind) \
|
* [Issue #498](https://github.com/json-c/json-c/issues/498) - double_serializer_test fails (with valgrind) \
|
||||||
[Issue #499](https://github.com/json-c/json-c/issues/499) - .travis.yml:test on more recent clang and gcc versions \
|
* [Issue #499](https://github.com/json-c/json-c/issues/499) - .travis.yml:test on more recent clang and gcc versions \
|
||||||
[Issue #500](https://github.com/json-c/json-c/issues/500) - test/Makefile.am:add missing deps for test1 and test2 \
|
* [Issue #500](https://github.com/json-c/json-c/issues/500) - test/Makefile.am:add missing deps for test1 and test2 \
|
||||||
[Issue #501](https://github.com/json-c/json-c/issues/501) - undefine NDEBUG for tests \
|
* [Issue #501](https://github.com/json-c/json-c/issues/501) - undefine NDEBUG for tests \
|
||||||
[Issue #502](https://github.com/json-c/json-c/issues/502) - configure error \
|
* [Issue #502](https://github.com/json-c/json-c/issues/502) - configure error \
|
||||||
[Issue #503](https://github.com/json-c/json-c/issues/503) - json-c retuns OK when Invalid json string is passed \
|
* [Issue #503](https://github.com/json-c/json-c/issues/503) - json-c retuns OK when Invalid json string is passed \
|
||||||
[Issue #504](https://github.com/json-c/json-c/issues/504) - json_object_put coredump \
|
* [Issue #504](https://github.com/json-c/json-c/issues/504) - json_object_put coredump \
|
||||||
[Issue #505](https://github.com/json-c/json-c/issues/505) - Add vcpkg installation instructions \
|
* [Issue #505](https://github.com/json-c/json-c/issues/505) - Add vcpkg installation instructions \
|
||||||
[Issue #506](https://github.com/json-c/json-c/issues/506) - Cannot parse more than one object \
|
* [Issue #506](https://github.com/json-c/json-c/issues/506) - Cannot parse more than one object \
|
||||||
[Issue #509](https://github.com/json-c/json-c/issues/509) - Sometimes a double value is not serialized \
|
* [Issue #509](https://github.com/json-c/json-c/issues/509) - Sometimes a double value is not serialized \
|
||||||
[Issue #510](https://github.com/json-c/json-c/issues/510) - Bump so-name and improve CMake \
|
* [Issue #510](https://github.com/json-c/json-c/issues/510) - Bump so-name and improve CMake \
|
||||||
[Issue #511](https://github.com/json-c/json-c/issues/511) - Reduce lines for better optimization \
|
* [Issue #511](https://github.com/json-c/json-c/issues/511) - Reduce lines for better optimization \
|
||||||
[Issue #512](https://github.com/json-c/json-c/issues/512) - Properly append to CMAKE_C_FLAGS string \
|
* [Issue #512](https://github.com/json-c/json-c/issues/512) - Properly append to CMAKE_C_FLAGS string \
|
||||||
[Issue #513](https://github.com/json-c/json-c/issues/513) - What does `userdata` means?And what is the case we can use it? \
|
* [Issue #513](https://github.com/json-c/json-c/issues/513) - What does `userdata` means?And what is the case we can use it? \
|
||||||
[Issue #514](https://github.com/json-c/json-c/issues/514) - Json c 0.13 \
|
* [Issue #514](https://github.com/json-c/json-c/issues/514) - Json c 0.13 \
|
||||||
[Issue #515](https://github.com/json-c/json-c/issues/515) - Mies suomesta fixes segfaults and logic errors \
|
* [Issue #515](https://github.com/json-c/json-c/issues/515) - Mies suomesta fixes segfaults and logic errors \
|
||||||
[Issue #516](https://github.com/json-c/json-c/issues/516) - Lja slight mods \
|
* [Issue #516](https://github.com/json-c/json-c/issues/516) - Lja slight mods \
|
||||||
[Issue #518](https://github.com/json-c/json-c/issues/518) - Escape character "\\003\", get unexpected value \
|
* [Issue #518](https://github.com/json-c/json-c/issues/518) - Escape character "\\003\", get unexpected value \
|
||||||
[Issue #519](https://github.com/json-c/json-c/issues/519) - Add test case obj token \
|
* [Issue #519](https://github.com/json-c/json-c/issues/519) - Add test case obj token \
|
||||||
[Issue #520](https://github.com/json-c/json-c/issues/520) - Adding type uint64 \
|
* [Issue #520](https://github.com/json-c/json-c/issues/520) - Adding type uint64 \
|
||||||
[Issue #521](https://github.com/json-c/json-c/issues/521) - build cmake windows 10 \
|
* [Issue #521](https://github.com/json-c/json-c/issues/521) - build cmake windows 10 \
|
||||||
[Issue #522](https://github.com/json-c/json-c/issues/522) - update json_visit testcase \
|
* [Issue #522](https://github.com/json-c/json-c/issues/522) - update json_visit testcase \
|
||||||
[Issue #523](https://github.com/json-c/json-c/issues/523) - update tsetcase for tokener_c \
|
* [Issue #523](https://github.com/json-c/json-c/issues/523) - update tsetcase for tokener_c \
|
||||||
[Issue #524](https://github.com/json-c/json-c/issues/524) - Increase coverage \
|
* [Issue #524](https://github.com/json-c/json-c/issues/524) - Increase coverage \
|
||||||
[Issue #525](https://github.com/json-c/json-c/issues/525) - update pointer test case \
|
* [Issue #525](https://github.com/json-c/json-c/issues/525) - update pointer test case \
|
||||||
[Issue #526](https://github.com/json-c/json-c/issues/526) - Increased the test coverage of printbuf.c 82% to 92%. \
|
* [Issue #526](https://github.com/json-c/json-c/issues/526) - Increased the test coverage of printbuf.c 82% to 92%. \
|
||||||
[Issue #527](https://github.com/json-c/json-c/issues/527) - Arraylist testcase \
|
* [Issue #527](https://github.com/json-c/json-c/issues/527) - Arraylist testcase \
|
||||||
[Issue #528](https://github.com/json-c/json-c/issues/528) - Solve issue #108. Skip \u0000 while parsing. \
|
* [Issue #528](https://github.com/json-c/json-c/issues/528) - Solve issue #108. Skip \u0000 while parsing. \
|
||||||
[Issue #529](https://github.com/json-c/json-c/issues/529) - Increased the test coverage of json_c_version.c 0% to 100%. \
|
* [Issue #529](https://github.com/json-c/json-c/issues/529) - Increased the test coverage of json_c_version.c 0% to 100%. \
|
||||||
[Issue #530](https://github.com/json-c/json-c/issues/530) - validate utf-8 string before parse \
|
* [Issue #530](https://github.com/json-c/json-c/issues/530) - validate utf-8 string before parse \
|
||||||
[Issue #531](https://github.com/json-c/json-c/issues/531) - validate utf-8 string \
|
* [Issue #531](https://github.com/json-c/json-c/issues/531) - validate utf-8 string \
|
||||||
[Issue #532](https://github.com/json-c/json-c/issues/532) - json_object_object_get_ex returning the original object \
|
* [Issue #532](https://github.com/json-c/json-c/issues/532) - json_object_object_get_ex returning the original object \
|
||||||
[Issue #533](https://github.com/json-c/json-c/issues/533) - Fix "make check" \
|
* [Issue #533](https://github.com/json-c/json-c/issues/533) - Fix "make check" \
|
||||||
[Issue #535](https://github.com/json-c/json-c/issues/535) - short string optimization: excessive array length \
|
* [Issue #535](https://github.com/json-c/json-c/issues/535) - short string optimization: excessive array length \
|
||||||
[Issue #536](https://github.com/json-c/json-c/issues/536) - add json_object_new_null() \
|
* [Issue #536](https://github.com/json-c/json-c/issues/536) - add json_object_new_null() \
|
||||||
[Issue #538](https://github.com/json-c/json-c/issues/538) - update shortstring and arraylist parameters \
|
* [Issue #538](https://github.com/json-c/json-c/issues/538) - update shortstring and arraylist parameters \
|
||||||
[Issue #539](https://github.com/json-c/json-c/issues/539) - double serializes to the old value after set_double \
|
* [Issue #539](https://github.com/json-c/json-c/issues/539) - double serializes to the old value after set_double \
|
||||||
[Issue #541](https://github.com/json-c/json-c/issues/541) - add coveralls auto tool to json-c \
|
* [Issue #541](https://github.com/json-c/json-c/issues/541) - add coveralls auto tool to json-c \
|
||||||
[Issue #542](https://github.com/json-c/json-c/issues/542) - add uint64 data to json-c \
|
* [Issue #542](https://github.com/json-c/json-c/issues/542) - add uint64 data to json-c \
|
||||||
[Issue #543](https://github.com/json-c/json-c/issues/543) - Readme \
|
* [Issue #543](https://github.com/json-c/json-c/issues/543) - Readme \
|
||||||
[Issue #544](https://github.com/json-c/json-c/issues/544) - Increase distcheck target in cmake \
|
* [Issue #544](https://github.com/json-c/json-c/issues/544) - Increase distcheck target in cmake \
|
||||||
[Issue #545](https://github.com/json-c/json-c/issues/545) - add doc target in cmake \
|
* [Issue #545](https://github.com/json-c/json-c/issues/545) - add doc target in cmake \
|
||||||
[Issue #546](https://github.com/json-c/json-c/issues/546) - Add uninstall target in cmake \
|
* [Issue #546](https://github.com/json-c/json-c/issues/546) - Add uninstall target in cmake \
|
||||||
[Issue #547](https://github.com/json-c/json-c/issues/547) - modify json-c default build type, and fix up the assert() errors in t… \
|
* [Issue #547](https://github.com/json-c/json-c/issues/547) - modify json-c default build type, and fix up the assert() errors in t… \
|
||||||
[Issue #548](https://github.com/json-c/json-c/issues/548) - Solve some problems about cmake build type (debug/release) \
|
* [Issue #548](https://github.com/json-c/json-c/issues/548) - Solve some problems about cmake build type (debug/release) \
|
||||||
[Issue #549](https://github.com/json-c/json-c/issues/549) - lib installation issues \
|
* [Issue #549](https://github.com/json-c/json-c/issues/549) - lib installation issues \
|
||||||
[Issue #550](https://github.com/json-c/json-c/issues/550) - Format codes with clang-format tool? \
|
* [Issue #550](https://github.com/json-c/json-c/issues/550) - Format codes with clang-format tool? \
|
||||||
[Issue #551](https://github.com/json-c/json-c/issues/551) - Allow hexadecimal number format convention parsing \
|
* [Issue #551](https://github.com/json-c/json-c/issues/551) - Allow hexadecimal number format convention parsing \
|
||||||
[Issue #553](https://github.com/json-c/json-c/issues/553) - Fix/clang ubsan \
|
* [Issue #553](https://github.com/json-c/json-c/issues/553) - Fix/clang ubsan \
|
||||||
[Issue #554](https://github.com/json-c/json-c/issues/554) - RFC 8259 compatibility mode \
|
* [Issue #554](https://github.com/json-c/json-c/issues/554) - RFC 8259 compatibility mode \
|
||||||
[Issue #555](https://github.com/json-c/json-c/issues/555) - Format json-c with clang-format tool \
|
* [Issue #555](https://github.com/json-c/json-c/issues/555) - Format json-c with clang-format tool \
|
||||||
[Issue #556](https://github.com/json-c/json-c/issues/556) - Fixes various Wreturn-type and Wimplicit-fallthrough errors on Mingw-w64 \
|
* [Issue #556](https://github.com/json-c/json-c/issues/556) - Fixes various Wreturn-type and Wimplicit-fallthrough errors on Mingw-w64 \
|
||||||
[Issue #557](https://github.com/json-c/json-c/issues/557) - Add option in CMAKE to not build documentation \
|
* [Issue #557](https://github.com/json-c/json-c/issues/557) - Add option in CMAKE to not build documentation \
|
||||||
[Issue #558](https://github.com/json-c/json-c/issues/558) - modify the doc target message \
|
* [Issue #558](https://github.com/json-c/json-c/issues/558) - modify the doc target message \
|
||||||
[Issue #559](https://github.com/json-c/json-c/issues/559) - json_c_visit() not exported on Windows \
|
* [Issue #559](https://github.com/json-c/json-c/issues/559) - json_c_visit() not exported on Windows \
|
||||||
[Issue #560](https://github.com/json-c/json-c/issues/560) - error: implicit declaration of function '_strtoi64' \
|
* [Issue #560](https://github.com/json-c/json-c/issues/560) - error: implicit declaration of function '_strtoi64' \
|
||||||
[Issue #561](https://github.com/json-c/json-c/issues/561) - add the badge in README.md and test the coveralls \
|
* [Issue #561](https://github.com/json-c/json-c/issues/561) - add the badge in README.md and test the coveralls \
|
||||||
[Issue #562](https://github.com/json-c/json-c/issues/562) - Bugfix and testcases supplements \
|
* [Issue #562](https://github.com/json-c/json-c/issues/562) - Bugfix and testcases supplements \
|
||||||
[Issue #563](https://github.com/json-c/json-c/issues/563) - Changed order of calloc args to match stdlib \
|
* [Issue #563](https://github.com/json-c/json-c/issues/563) - Changed order of calloc args to match stdlib \
|
||||||
[Issue #564](https://github.com/json-c/json-c/issues/564) - Remove autogenerated files \
|
* [Issue #564](https://github.com/json-c/json-c/issues/564) - Remove autogenerated files \
|
||||||
[Issue #565](https://github.com/json-c/json-c/issues/565) - test the CI and ignore this PR \
|
* [Issue #565](https://github.com/json-c/json-c/issues/565) - test the CI and ignore this PR \
|
||||||
[Issue #566](https://github.com/json-c/json-c/issues/566) - add the json_types.h to Makefile.am \
|
* [Issue #566](https://github.com/json-c/json-c/issues/566) - add the json_types.h to Makefile.am \
|
||||||
[Issue #567](https://github.com/json-c/json-c/issues/567) - Install json_types.h with autotools build as well. \
|
* [Issue #567](https://github.com/json-c/json-c/issues/567) - Install json_types.h with autotools build as well. \
|
||||||
[Issue #568](https://github.com/json-c/json-c/issues/568) - Adding better support to MinGW \
|
* [Issue #568](https://github.com/json-c/json-c/issues/568) - Adding better support to MinGW \
|
||||||
[Issue #569](https://github.com/json-c/json-c/issues/569) - Handling of -Bsymbolic-function in CMakeLists.txt is deficient \
|
* [Issue #569](https://github.com/json-c/json-c/issues/569) - Handling of -Bsymbolic-function in CMakeLists.txt is deficient \
|
||||||
[Issue #571](https://github.com/json-c/json-c/issues/571) - CMake: Bump SONAME to 5. \
|
* [Issue #571](https://github.com/json-c/json-c/issues/571) - CMake: Bump SONAME to 5. \
|
||||||
[Issue #572](https://github.com/json-c/json-c/issues/572) - Small fixes to CMakeLists \
|
* [Issue #572](https://github.com/json-c/json-c/issues/572) - Small fixes to CMakeLists \
|
||||||
[Issue #573](https://github.com/json-c/json-c/issues/573) - Fix coveralls submission. \
|
* [Issue #573](https://github.com/json-c/json-c/issues/573) - Fix coveralls submission. \
|
||||||
[Issue #574](https://github.com/json-c/json-c/issues/574) - autogen.sh missing from repository \
|
* [Issue #574](https://github.com/json-c/json-c/issues/574) - autogen.sh missing from repository \
|
||||||
[Issue #575](https://github.com/json-c/json-c/issues/575) - Small cosmetics. \
|
* [Issue #575](https://github.com/json-c/json-c/issues/575) - Small cosmetics. \
|
||||||
[Issue #576](https://github.com/json-c/json-c/issues/576) - Test coverage for json_c_version. \
|
* [Issue #576](https://github.com/json-c/json-c/issues/576) - Test coverage for json_c_version. \
|
||||||
[Issue #577](https://github.com/json-c/json-c/issues/577) - Be verbose on failing json_c_version test. \
|
* [Issue #577](https://github.com/json-c/json-c/issues/577) - Be verbose on failing json_c_version test. \
|
||||||
[Issue #578](https://github.com/json-c/json-c/issues/578) - CMake: Install pkgconfig file in proper location by default \
|
* [Issue #578](https://github.com/json-c/json-c/issues/578) - CMake: Install pkgconfig file in proper location by default \
|
||||||
[Issue #579](https://github.com/json-c/json-c/issues/579) - Enforce strict prototypes. \
|
* [Issue #579](https://github.com/json-c/json-c/issues/579) - Enforce strict prototypes. \
|
||||||
[Issue #580](https://github.com/json-c/json-c/issues/580) - Fix CMake tests for enforced strict prototypes. \
|
* [Issue #580](https://github.com/json-c/json-c/issues/580) - Fix CMake tests for enforced strict prototypes. \
|
||||||
[Issue #581](https://github.com/json-c/json-c/issues/581) - CMakeLists: do not enforce strict prototypes on Windows. \
|
* [Issue #581](https://github.com/json-c/json-c/issues/581) - CMakeLists: do not enforce strict prototypes on Windows. \
|
||||||
|
|||||||
165
json-c.sym
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
|
||||||
|
/*
|
||||||
|
* Symbol versioning for libjson-c.
|
||||||
|
* All exported symbols must be listed here.
|
||||||
|
*
|
||||||
|
* See
|
||||||
|
* https://software.intel.com/sites/default/files/m/a/1/e/dsohowto.pdf
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Symbols in JSONC_PRIVATE are exported for historical
|
||||||
|
* reasons, but should not be used outside of json-c.
|
||||||
|
*/
|
||||||
|
JSONC_PRIVATE {
|
||||||
|
array_list_add;
|
||||||
|
array_list_del_idx;
|
||||||
|
array_list_free;
|
||||||
|
array_list_new;
|
||||||
|
array_list_put_idx;
|
||||||
|
array_list_sort;
|
||||||
|
json_hex_chars;
|
||||||
|
json_parse_double;
|
||||||
|
json_parse_int64;
|
||||||
|
json_parse_uint64;
|
||||||
|
lh_table_delete;
|
||||||
|
lh_table_delete_entry;
|
||||||
|
lh_table_free;
|
||||||
|
lh_table_insert;
|
||||||
|
lh_table_insert_w_hash;
|
||||||
|
lh_table_new;
|
||||||
|
lh_table_resize;
|
||||||
|
mc_debug;
|
||||||
|
mc_error;
|
||||||
|
mc_get_debug;
|
||||||
|
mc_info;
|
||||||
|
mc_set_debug;
|
||||||
|
mc_set_syslog;
|
||||||
|
printbuf_free;
|
||||||
|
printbuf_memappend;
|
||||||
|
printbuf_memset;
|
||||||
|
printbuf_new;
|
||||||
|
printbuf_reset;
|
||||||
|
sprintbuf;
|
||||||
|
};
|
||||||
|
|
||||||
|
JSONC_0.14 {
|
||||||
|
global:
|
||||||
|
array_list_bsearch;
|
||||||
|
array_list_get_idx;
|
||||||
|
array_list_length;
|
||||||
|
json_c_get_random_seed;
|
||||||
|
json_c_object_sizeof;
|
||||||
|
json_c_set_serialization_double_format;
|
||||||
|
json_c_shallow_copy_default;
|
||||||
|
json_c_version;
|
||||||
|
json_c_version_num;
|
||||||
|
json_c_visit;
|
||||||
|
json_global_set_string_hash;
|
||||||
|
json_number_chars;
|
||||||
|
json_object_array_add;
|
||||||
|
json_object_array_bsearch;
|
||||||
|
json_object_array_del_idx;
|
||||||
|
json_object_array_get_idx;
|
||||||
|
json_object_array_length;
|
||||||
|
json_object_array_put_idx;
|
||||||
|
json_object_array_sort;
|
||||||
|
json_object_deep_copy;
|
||||||
|
json_object_double_to_json_string;
|
||||||
|
json_object_equal;
|
||||||
|
json_object_free_userdata;
|
||||||
|
json_object_from_fd;
|
||||||
|
json_object_from_fd_ex;
|
||||||
|
json_object_from_file;
|
||||||
|
json_object_get;
|
||||||
|
json_object_get_array;
|
||||||
|
json_object_get_boolean;
|
||||||
|
json_object_get_double;
|
||||||
|
json_object_get_int64;
|
||||||
|
json_object_get_int;
|
||||||
|
json_object_get_object;
|
||||||
|
json_object_get_string;
|
||||||
|
json_object_get_string_len;
|
||||||
|
json_object_get_type;
|
||||||
|
json_object_get_uint64;
|
||||||
|
json_object_get_userdata;
|
||||||
|
json_object_int_inc;
|
||||||
|
json_object_is_type;
|
||||||
|
json_object_iter_begin;
|
||||||
|
json_object_iter_end;
|
||||||
|
json_object_iter_equal;
|
||||||
|
json_object_iter_init_default;
|
||||||
|
json_object_iter_next;
|
||||||
|
json_object_iter_peek_name;
|
||||||
|
json_object_iter_peek_value;
|
||||||
|
json_object_new_array;
|
||||||
|
json_object_new_boolean;
|
||||||
|
json_object_new_double;
|
||||||
|
json_object_new_double_s;
|
||||||
|
json_object_new_int64;
|
||||||
|
json_object_new_int;
|
||||||
|
json_object_new_null;
|
||||||
|
json_object_new_object;
|
||||||
|
json_object_new_string;
|
||||||
|
json_object_new_string_len;
|
||||||
|
json_object_new_uint64;
|
||||||
|
json_object_object_add;
|
||||||
|
json_object_object_add_ex;
|
||||||
|
json_object_object_del;
|
||||||
|
json_object_object_get;
|
||||||
|
json_object_object_get_ex;
|
||||||
|
json_object_object_length;
|
||||||
|
json_object_put;
|
||||||
|
json_object_set_boolean;
|
||||||
|
json_object_set_double;
|
||||||
|
json_object_set_int64;
|
||||||
|
json_object_set_int;
|
||||||
|
json_object_set_serializer;
|
||||||
|
json_object_set_string;
|
||||||
|
json_object_set_string_len;
|
||||||
|
json_object_set_uint64;
|
||||||
|
json_object_set_userdata;
|
||||||
|
json_object_to_fd;
|
||||||
|
json_object_to_file;
|
||||||
|
json_object_to_file_ext;
|
||||||
|
json_object_to_json_string;
|
||||||
|
json_object_to_json_string_ext;
|
||||||
|
json_object_to_json_string_length;
|
||||||
|
json_object_userdata_to_json_string;
|
||||||
|
json_pointer_get;
|
||||||
|
json_pointer_getf;
|
||||||
|
json_pointer_set;
|
||||||
|
json_pointer_setf;
|
||||||
|
json_tokener_error_desc;
|
||||||
|
json_tokener_free;
|
||||||
|
json_tokener_get_error;
|
||||||
|
json_tokener_get_parse_end;
|
||||||
|
json_tokener_new;
|
||||||
|
json_tokener_new_ex;
|
||||||
|
json_tokener_parse;
|
||||||
|
json_tokener_parse_ex;
|
||||||
|
json_tokener_parse_verbose;
|
||||||
|
json_tokener_reset;
|
||||||
|
json_tokener_set_flags;
|
||||||
|
json_type_to_name;
|
||||||
|
json_util_get_last_err;
|
||||||
|
lh_char_equal;
|
||||||
|
lh_kchar_table_new;
|
||||||
|
lh_kptr_table_new;
|
||||||
|
lh_ptr_equal;
|
||||||
|
lh_table_length;
|
||||||
|
lh_table_lookup_entry;
|
||||||
|
lh_table_lookup_entry_w_hash;
|
||||||
|
lh_table_lookup_ex;
|
||||||
|
|
||||||
|
local:
|
||||||
|
*;
|
||||||
|
};
|
||||||
|
|
||||||
|
JSONC_0.15 {
|
||||||
|
global:
|
||||||
|
array_list_new2;
|
||||||
|
array_list_shrink;
|
||||||
|
json_object_array_shrink;
|
||||||
|
json_object_new_array_ext;
|
||||||
|
} JSONC_0.14;
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012,2017 Eric Haszlakiewicz
|
* Copyright (c) 2012,2017,2019,2020 Eric Hawicz
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the MIT license. See COPYING for details.
|
* it under the terms of the MIT license. See COPYING for details.
|
||||||
@@ -17,11 +17,11 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define JSON_C_MAJOR_VERSION 0
|
#define JSON_C_MAJOR_VERSION 0
|
||||||
#define JSON_C_MINOR_VERSION 14
|
#define JSON_C_MINOR_VERSION 15
|
||||||
#define JSON_C_MICRO_VERSION 99
|
#define JSON_C_MICRO_VERSION 0
|
||||||
#define JSON_C_VERSION_NUM \
|
#define JSON_C_VERSION_NUM \
|
||||||
((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION)
|
((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION)
|
||||||
#define JSON_C_VERSION "0.14.99"
|
#define JSON_C_VERSION "0.15"
|
||||||
|
|
||||||
#ifndef JSON_EXPORT
|
#ifndef JSON_EXPORT
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|||||||
@@ -41,11 +41,11 @@
|
|||||||
|
|
||||||
#ifndef SSIZE_T_MAX
|
#ifndef SSIZE_T_MAX
|
||||||
#if SIZEOF_SSIZE_T == SIZEOF_INT
|
#if SIZEOF_SSIZE_T == SIZEOF_INT
|
||||||
#define SSIZE_T_MAX UINT_MAX
|
#define SSIZE_T_MAX INT_MAX
|
||||||
#elif SIZEOF_SSIZE_T == SIZEOF_LONG
|
#elif SIZEOF_SSIZE_T == SIZEOF_LONG
|
||||||
#define SSIZE_T_MAX ULONG_MAX
|
#define SSIZE_T_MAX LONG_MAX
|
||||||
#elif SIZEOF_SSIZE_T == SIZEOF_LONG_LONG
|
#elif SIZEOF_SSIZE_T == SIZEOF_LONG_LONG
|
||||||
#define SSIZE_T_MAX ULLONG_MAX
|
#define SSIZE_T_MAX LLONG_MAX
|
||||||
#else
|
#else
|
||||||
#error Unable to determine size of ssize_t
|
#error Unable to determine size of ssize_t
|
||||||
#endif
|
#endif
|
||||||
@@ -54,7 +54,6 @@
|
|||||||
// Don't define this. It's not thread-safe.
|
// Don't define this. It's not thread-safe.
|
||||||
/* #define REFCOUNT_DEBUG 1 */
|
/* #define REFCOUNT_DEBUG 1 */
|
||||||
|
|
||||||
const char *json_number_chars = "0123456789.+-eE";
|
|
||||||
const char *json_hex_chars = "0123456789abcdefABCDEF";
|
const char *json_hex_chars = "0123456789abcdefABCDEF";
|
||||||
|
|
||||||
static void json_object_generic_delete(struct json_object *jso);
|
static void json_object_generic_delete(struct json_object *jso);
|
||||||
@@ -736,7 +735,7 @@ struct json_object *json_object_new_int(int32_t i)
|
|||||||
|
|
||||||
int32_t json_object_get_int(const struct json_object *jso)
|
int32_t json_object_get_int(const struct json_object *jso)
|
||||||
{
|
{
|
||||||
int64_t cint64;
|
int64_t cint64=0;
|
||||||
double cdouble;
|
double cdouble;
|
||||||
enum json_type o_type;
|
enum json_type o_type;
|
||||||
|
|
||||||
@@ -1431,11 +1430,15 @@ static void json_object_array_delete(struct json_object *jso)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct json_object *json_object_new_array(void)
|
struct json_object *json_object_new_array(void)
|
||||||
|
{
|
||||||
|
return json_object_new_array_ext(ARRAY_LIST_DEFAULT_SIZE);
|
||||||
|
}
|
||||||
|
struct json_object *json_object_new_array_ext(int initial_size)
|
||||||
{
|
{
|
||||||
struct json_object_array *jso = JSON_OBJECT_NEW(array);
|
struct json_object_array *jso = JSON_OBJECT_NEW(array);
|
||||||
if (!jso)
|
if (!jso)
|
||||||
return NULL;
|
return NULL;
|
||||||
jso->c_array = array_list_new(&json_object_array_entry_free);
|
jso->c_array = array_list_new2(&json_object_array_entry_free, initial_size);
|
||||||
if (jso->c_array == NULL)
|
if (jso->c_array == NULL)
|
||||||
{
|
{
|
||||||
free(jso);
|
free(jso);
|
||||||
@@ -1523,6 +1526,13 @@ static int json_array_equal(struct json_object *jso1, struct json_object *jso2)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int json_object_array_shrink(struct json_object *jso, int empty_slots)
|
||||||
|
{
|
||||||
|
if (empty_slots < 0)
|
||||||
|
json_abort("json_object_array_shrink called with negative empty_slots");
|
||||||
|
return array_list_shrink(JC_ARRAY(jso)->c_array, empty_slots);
|
||||||
|
}
|
||||||
|
|
||||||
struct json_object *json_object_new_null(void)
|
struct json_object *json_object_new_null(void)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -1625,7 +1635,7 @@ static int json_object_copy_serializer_data(struct json_object *src, struct json
|
|||||||
{
|
{
|
||||||
_json_c_set_last_err(
|
_json_c_set_last_err(
|
||||||
"json_object_deep_copy: unable to copy unknown serializer data: %p\n",
|
"json_object_deep_copy: unable to copy unknown serializer data: %p\n",
|
||||||
dst->_to_json_string);
|
(void *)dst->_to_json_string);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
dst->_user_delete = src->_user_delete;
|
dst->_user_delete = src->_user_delete;
|
||||||
|
|||||||
@@ -17,16 +17,6 @@
|
|||||||
#ifndef _json_object_h_
|
#ifndef _json_object_h_
|
||||||
#define _json_object_h_
|
#define _json_object_h_
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__((deprecated))
|
|
||||||
#elif defined(_MSC_VER)
|
|
||||||
#define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func
|
|
||||||
#elif defined(__clang__)
|
|
||||||
#define THIS_FUNCTION_IS_DEPRECATED(func) func __deprecated
|
|
||||||
#else
|
|
||||||
#define THIS_FUNCTION_IS_DEPRECATED(func) func
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
|
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
|
||||||
#else
|
#else
|
||||||
@@ -133,21 +123,43 @@ extern "C" {
|
|||||||
/* reference counting functions */
|
/* reference counting functions */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Increment the reference count of json_object, thereby grabbing shared
|
* Increment the reference count of json_object, thereby taking ownership of it.
|
||||||
* ownership of obj.
|
*
|
||||||
|
* Cases where you might need to increase the refcount include:
|
||||||
|
* - Using an object field or array index (retrieved through
|
||||||
|
* `json_object_object_get()` or `json_object_array_get_idx()`)
|
||||||
|
* beyond the lifetime of the parent object.
|
||||||
|
* - Detaching an object field or array index from its parent object
|
||||||
|
* (using `json_object_object_del()` or `json_object_array_del_idx()`)
|
||||||
|
* - Sharing a json_object with multiple (not necesarily parallel) threads
|
||||||
|
* of execution that all expect to free it (with `json_object_put()`) when
|
||||||
|
* they're done.
|
||||||
*
|
*
|
||||||
* @param obj the json_object instance
|
* @param obj the json_object instance
|
||||||
|
* @see json_object_put()
|
||||||
|
* @see json_object_object_get()
|
||||||
|
* @see json_object_array_get_idx()
|
||||||
*/
|
*/
|
||||||
JSON_EXPORT struct json_object *json_object_get(struct json_object *obj);
|
JSON_EXPORT struct json_object *json_object_get(struct json_object *obj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Decrement the reference count of json_object and free if it reaches zero.
|
* Decrement the reference count of json_object and free if it reaches zero.
|
||||||
|
*
|
||||||
* You must have ownership of obj prior to doing this or you will cause an
|
* You must have ownership of obj prior to doing this or you will cause an
|
||||||
* imbalance in the reference count.
|
* imbalance in the reference count, leading to a classic use-after-free bug.
|
||||||
* An obj of NULL may be passed; in that case this call is a no-op.
|
* In particular, you normally do not need to call `json_object_put()` on the
|
||||||
|
* json_object returned by `json_object_object_get()` or `json_object_array_get_idx()`.
|
||||||
|
*
|
||||||
|
* Just like after calling `free()` on a block of memory, you must not use
|
||||||
|
* `obj` after calling `json_object_put()` on it or any object that it
|
||||||
|
* is a member of (unless you know you've called `json_object_get(obj)` to
|
||||||
|
* explicitly increment the refcount).
|
||||||
|
*
|
||||||
|
* NULL may be passed, which which case this is a no-op.
|
||||||
*
|
*
|
||||||
* @param obj the json_object instance
|
* @param obj the json_object instance
|
||||||
* @returns 1 if the object was freed.
|
* @returns 1 if the object was freed.
|
||||||
|
* @see json_object_get()
|
||||||
*/
|
*/
|
||||||
JSON_EXPORT int json_object_put(struct json_object *obj);
|
JSON_EXPORT int json_object_put(struct json_object *obj);
|
||||||
|
|
||||||
@@ -347,15 +359,21 @@ JSON_C_CONST_FUNCTION(JSON_EXPORT size_t json_c_object_sizeof(void));
|
|||||||
|
|
||||||
/** Add an object field to a json_object of type json_type_object
|
/** Add an object field to a json_object of type json_type_object
|
||||||
*
|
*
|
||||||
* The reference count will *not* be incremented. This is to make adding
|
* The reference count of `val` will *not* be incremented, in effect
|
||||||
* fields to objects in code more compact. If you want to retain a reference
|
* transferring ownership that object to `obj`, and thus `val` will be
|
||||||
* to an added object, independent of the lifetime of obj, you must wrap the
|
* freed when `obj` is. (i.e. through `json_object_put(obj)`)
|
||||||
* passed object with json_object_get.
|
|
||||||
*
|
*
|
||||||
* Upon calling this, the ownership of val transfers to obj. Thus you must
|
* If you want to retain a reference to the added object, independent
|
||||||
* make sure that you do in fact have ownership over this object. For instance,
|
* of the lifetime of obj, you must increment the refcount with
|
||||||
* json_object_new_object will give you ownership until you transfer it,
|
* `json_object_get(val)` (and later release it with json_object_put()).
|
||||||
* whereas json_object_object_get does not.
|
*
|
||||||
|
* Since ownership transfers to `obj`, you must make sure
|
||||||
|
* that you do in fact have ownership over `val`. For instance,
|
||||||
|
* json_object_new_object() will give you ownership until you transfer it,
|
||||||
|
* whereas json_object_object_get() does not.
|
||||||
|
*
|
||||||
|
* Any previous object stored under `key` in `obj` will have its refcount
|
||||||
|
* decremented, and be freed normally if that drops to zero.
|
||||||
*
|
*
|
||||||
* @param obj the json_object instance
|
* @param obj the json_object instance
|
||||||
* @param key the object field name (a private copy will be duplicated)
|
* @param key the object field name (a private copy will be duplicated)
|
||||||
@@ -378,7 +396,7 @@ JSON_EXPORT int json_object_object_add(struct json_object *obj, const char *key,
|
|||||||
* @param key the object field name (a private copy will be duplicated)
|
* @param key the object field name (a private copy will be duplicated)
|
||||||
* @param val a json_object or NULL member to associate with the given field
|
* @param val a json_object or NULL member to associate with the given field
|
||||||
* @param opts process-modifying options. To specify multiple options, use
|
* @param opts process-modifying options. To specify multiple options, use
|
||||||
* arithmetic or (OPT1|OPT2)
|
* (OPT1|OPT2)
|
||||||
*/
|
*/
|
||||||
JSON_EXPORT int json_object_object_add_ex(struct json_object *obj, const char *const key,
|
JSON_EXPORT int json_object_object_add_ex(struct json_object *obj, const char *const key,
|
||||||
struct json_object *const val, const unsigned opts);
|
struct json_object *const val, const unsigned opts);
|
||||||
@@ -500,10 +518,23 @@ JSON_EXPORT void json_object_object_del(struct json_object *obj, const char *key
|
|||||||
/* Array type methods */
|
/* Array type methods */
|
||||||
|
|
||||||
/** Create a new empty json_object of type json_type_array
|
/** Create a new empty json_object of type json_type_array
|
||||||
|
* with 32 slots allocated.
|
||||||
|
* If you know the array size you'll need ahead of time, use
|
||||||
|
* json_object_new_array_ext() instead.
|
||||||
|
* @see json_object_new_array_ext()
|
||||||
|
* @see json_object_array_shrink()
|
||||||
* @returns a json_object of type json_type_array
|
* @returns a json_object of type json_type_array
|
||||||
*/
|
*/
|
||||||
JSON_EXPORT struct json_object *json_object_new_array(void);
|
JSON_EXPORT struct json_object *json_object_new_array(void);
|
||||||
|
|
||||||
|
/** Create a new empty json_object of type json_type_array
|
||||||
|
* with the desired number of slots allocated.
|
||||||
|
* @see json_object_array_shrink()
|
||||||
|
* @param initial_size the number of slots to allocate
|
||||||
|
* @returns a json_object of type json_type_array
|
||||||
|
*/
|
||||||
|
JSON_EXPORT struct json_object *json_object_new_array_ext(int initial_size);
|
||||||
|
|
||||||
/** Get the arraylist of a json_object of type json_type_array
|
/** Get the arraylist of a json_object of type json_type_array
|
||||||
* @param obj the json_object instance
|
* @param obj the json_object instance
|
||||||
* @returns an arraylist
|
* @returns an arraylist
|
||||||
@@ -574,7 +605,15 @@ JSON_EXPORT int json_object_array_add(struct json_object *obj, struct json_objec
|
|||||||
JSON_EXPORT int json_object_array_put_idx(struct json_object *obj, size_t idx,
|
JSON_EXPORT int json_object_array_put_idx(struct json_object *obj, size_t idx,
|
||||||
struct json_object *val);
|
struct json_object *val);
|
||||||
|
|
||||||
/** Get the element at specified index of the array (a json_object of type json_type_array)
|
/** Get the element at specified index of array `obj` (which must be a json_object of type json_type_array)
|
||||||
|
*
|
||||||
|
* *No* reference counts will be changed, and ownership of the returned
|
||||||
|
* object remains with `obj`. See json_object_object_get() for additional
|
||||||
|
* implications of this behavior.
|
||||||
|
*
|
||||||
|
* Calling this with anything other than a json_type_array will trigger
|
||||||
|
* an assert.
|
||||||
|
*
|
||||||
* @param obj the json_object instance
|
* @param obj the json_object instance
|
||||||
* @param idx the index to get the element at
|
* @param idx the index to get the element at
|
||||||
* @returns the json_object at the specified index (or NULL)
|
* @returns the json_object at the specified index (or NULL)
|
||||||
@@ -595,6 +634,15 @@ JSON_EXPORT struct json_object *json_object_array_get_idx(const struct json_obje
|
|||||||
*/
|
*/
|
||||||
JSON_EXPORT int json_object_array_del_idx(struct json_object *obj, size_t idx, size_t count);
|
JSON_EXPORT int json_object_array_del_idx(struct json_object *obj, size_t idx, size_t count);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shrink the internal memory allocation of the array to just
|
||||||
|
* enough to fit the number of elements in it, plus empty_slots.
|
||||||
|
*
|
||||||
|
* @param jso the json_object instance, must be json_type_array
|
||||||
|
* @param empty_slots the number of empty slots to leave allocated
|
||||||
|
*/
|
||||||
|
JSON_EXPORT int json_object_array_shrink(struct json_object *jso, int empty_slots);
|
||||||
|
|
||||||
/* json_bool type methods */
|
/* json_bool type methods */
|
||||||
|
|
||||||
/** Create a new empty json_object of type json_type_boolean
|
/** Create a new empty json_object of type json_type_boolean
|
||||||
|
|||||||
@@ -98,7 +98,6 @@ struct json_object_string
|
|||||||
|
|
||||||
void _json_c_set_last_err(const char *err_fmt, ...);
|
void _json_c_set_last_err(const char *err_fmt, ...);
|
||||||
|
|
||||||
extern const char *json_number_chars;
|
|
||||||
extern const char *json_hex_chars;
|
extern const char *json_hex_chars;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
444
json_tokener.c
@@ -97,6 +97,8 @@ static const char *json_tokener_errors[] = {
|
|||||||
*/
|
*/
|
||||||
static json_bool json_tokener_validate_utf8(const char c, unsigned int *nBytes);
|
static json_bool json_tokener_validate_utf8(const char c, unsigned int *nBytes);
|
||||||
|
|
||||||
|
static int json_tokener_parse_double(const char *buf, int len, double *retval);
|
||||||
|
|
||||||
const char *json_tokener_error_desc(enum json_tokener_error jerr)
|
const char *json_tokener_error_desc(enum json_tokener_error jerr)
|
||||||
{
|
{
|
||||||
int jerr_int = (int)jerr;
|
int jerr_int = (int)jerr;
|
||||||
@@ -191,7 +193,17 @@ struct json_object *json_tokener_parse_verbose(const char *str, enum json_tokene
|
|||||||
return NULL;
|
return NULL;
|
||||||
obj = json_tokener_parse_ex(tok, str, -1);
|
obj = json_tokener_parse_ex(tok, str, -1);
|
||||||
*error = tok->err;
|
*error = tok->err;
|
||||||
if (tok->err != json_tokener_success)
|
if (tok->err != json_tokener_success
|
||||||
|
#if 0
|
||||||
|
/* This would be a more sensible default, and cause parsing
|
||||||
|
* things like "null123" to fail when the caller can't know
|
||||||
|
* where the parsing left off, but starting to fail would
|
||||||
|
* be a notable behaviour change. Save for a 1.0 release.
|
||||||
|
*/
|
||||||
|
|| json_tokener_get_parse_end(tok) != strlen(str)
|
||||||
|
#endif
|
||||||
|
)
|
||||||
|
|
||||||
{
|
{
|
||||||
if (obj != NULL)
|
if (obj != NULL)
|
||||||
json_object_put(obj);
|
json_object_put(obj);
|
||||||
@@ -223,7 +235,7 @@ struct json_object *json_tokener_parse_verbose(const char *str, enum json_tokene
|
|||||||
/* PEEK_CHAR(dest, tok) macro:
|
/* PEEK_CHAR(dest, tok) macro:
|
||||||
* Peeks at the current char and stores it in dest.
|
* Peeks at the current char and stores it in dest.
|
||||||
* Returns 1 on success, sets tok->err and returns 0 if no more chars.
|
* Returns 1 on success, sets tok->err and returns 0 if no more chars.
|
||||||
* Implicit inputs: str, len vars
|
* Implicit inputs: str, len, nBytesp vars
|
||||||
*/
|
*/
|
||||||
#define PEEK_CHAR(dest, tok) \
|
#define PEEK_CHAR(dest, tok) \
|
||||||
(((tok)->char_offset == len) \
|
(((tok)->char_offset == len) \
|
||||||
@@ -295,7 +307,7 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while (PEEK_CHAR(c, tok))
|
while (PEEK_CHAR(c, tok)) // Note: c might be '\0' !
|
||||||
{
|
{
|
||||||
|
|
||||||
redo_char:
|
redo_char:
|
||||||
@@ -418,7 +430,7 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
{
|
{
|
||||||
char inf_char = *str;
|
char inf_char = *str;
|
||||||
if (!(tok->flags & JSON_TOKENER_STRICT))
|
if (!(tok->flags & JSON_TOKENER_STRICT))
|
||||||
inf_char = tolower((int)*str);
|
inf_char = tolower((unsigned char)*str);
|
||||||
if (inf_char != _json_inf_str[tok->st_pos])
|
if (inf_char != _json_inf_str[tok->st_pos])
|
||||||
{
|
{
|
||||||
tok->err = json_tokener_error_parse_unexpected;
|
tok->err = json_tokener_error_parse_unexpected;
|
||||||
@@ -628,173 +640,165 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// ===================================================
|
||||||
|
|
||||||
case json_tokener_state_escape_unicode:
|
case json_tokener_state_escape_unicode:
|
||||||
{
|
{
|
||||||
unsigned int got_hi_surrogate = 0;
|
/* Handle a 4-byte \uNNNN sequence, or two sequences if a surrogate pair */
|
||||||
|
|
||||||
/* Handle a 4-byte sequence, or two sequences if a surrogate pair */
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
if (c && strchr(json_hex_chars, c))
|
if (!c || !strchr(json_hex_chars, c))
|
||||||
{
|
|
||||||
tok->ucs_char += ((unsigned int)jt_hexdigit(c)
|
|
||||||
<< ((3 - tok->st_pos++) * 4));
|
|
||||||
if (tok->st_pos == 4)
|
|
||||||
{
|
|
||||||
unsigned char unescaped_utf[4];
|
|
||||||
|
|
||||||
if (got_hi_surrogate)
|
|
||||||
{
|
|
||||||
if (IS_LOW_SURROGATE(tok->ucs_char))
|
|
||||||
{
|
|
||||||
/* Recalculate the ucs_char, then fall thru to process normally */
|
|
||||||
tok->ucs_char =
|
|
||||||
DECODE_SURROGATE_PAIR(
|
|
||||||
got_hi_surrogate,
|
|
||||||
tok->ucs_char);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* Hi surrogate was not followed by a low surrogate */
|
|
||||||
/* Replace the hi and process the rest normally */
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb,
|
|
||||||
(char *)utf8_replacement_char,
|
|
||||||
3);
|
|
||||||
}
|
|
||||||
got_hi_surrogate = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tok->ucs_char < 0x80)
|
|
||||||
{
|
|
||||||
unescaped_utf[0] = tok->ucs_char;
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb, (char *)unescaped_utf, 1);
|
|
||||||
}
|
|
||||||
else if (tok->ucs_char < 0x800)
|
|
||||||
{
|
|
||||||
unescaped_utf[0] =
|
|
||||||
0xc0 | (tok->ucs_char >> 6);
|
|
||||||
unescaped_utf[1] =
|
|
||||||
0x80 | (tok->ucs_char & 0x3f);
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb, (char *)unescaped_utf, 2);
|
|
||||||
}
|
|
||||||
else if (IS_HIGH_SURROGATE(tok->ucs_char))
|
|
||||||
{
|
|
||||||
/* Got a high surrogate. Remember it and look for
|
|
||||||
* the beginning of another sequence, which
|
|
||||||
* should be the low surrogate.
|
|
||||||
*/
|
|
||||||
got_hi_surrogate = tok->ucs_char;
|
|
||||||
/* Not at end, and the next two chars should be "\u" */
|
|
||||||
if ((len == -1 ||
|
|
||||||
len > (tok->char_offset + 2)) &&
|
|
||||||
// str[0] != '0' && // implied by json_hex_chars, above.
|
|
||||||
(str[1] == '\\') && (str[2] == 'u'))
|
|
||||||
{
|
|
||||||
/* Advance through the 16 bit surrogate, and move
|
|
||||||
* on to the next sequence. The next step is to
|
|
||||||
* process the following characters.
|
|
||||||
*/
|
|
||||||
if (!ADVANCE_CHAR(str, tok) ||
|
|
||||||
!ADVANCE_CHAR(str, tok))
|
|
||||||
{
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb,
|
|
||||||
(char *)
|
|
||||||
utf8_replacement_char,
|
|
||||||
3);
|
|
||||||
}
|
|
||||||
/* Advance to the first char of the next sequence and
|
|
||||||
* continue processing with the next sequence.
|
|
||||||
*/
|
|
||||||
if (!ADVANCE_CHAR(str, tok) ||
|
|
||||||
!PEEK_CHAR(c, tok))
|
|
||||||
{
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb,
|
|
||||||
(char *)
|
|
||||||
utf8_replacement_char,
|
|
||||||
3);
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
tok->ucs_char = 0;
|
|
||||||
tok->st_pos = 0;
|
|
||||||
/* other json_tokener_state_escape_unicode */
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* Got a high surrogate without another sequence following
|
|
||||||
* it. Put a replacement char in for the hi surrogate
|
|
||||||
* and pretend we finished.
|
|
||||||
*/
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb,
|
|
||||||
(char *)utf8_replacement_char,
|
|
||||||
3);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (IS_LOW_SURROGATE(tok->ucs_char))
|
|
||||||
{
|
|
||||||
/* Got a low surrogate not preceded by a high */
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb, (char *)utf8_replacement_char,
|
|
||||||
3);
|
|
||||||
}
|
|
||||||
else if (tok->ucs_char < 0x10000)
|
|
||||||
{
|
|
||||||
unescaped_utf[0] =
|
|
||||||
0xe0 | (tok->ucs_char >> 12);
|
|
||||||
unescaped_utf[1] =
|
|
||||||
0x80 | ((tok->ucs_char >> 6) & 0x3f);
|
|
||||||
unescaped_utf[2] =
|
|
||||||
0x80 | (tok->ucs_char & 0x3f);
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb, (char *)unescaped_utf, 3);
|
|
||||||
}
|
|
||||||
else if (tok->ucs_char < 0x110000)
|
|
||||||
{
|
|
||||||
unescaped_utf[0] =
|
|
||||||
0xf0 | ((tok->ucs_char >> 18) & 0x07);
|
|
||||||
unescaped_utf[1] =
|
|
||||||
0x80 | ((tok->ucs_char >> 12) & 0x3f);
|
|
||||||
unescaped_utf[2] =
|
|
||||||
0x80 | ((tok->ucs_char >> 6) & 0x3f);
|
|
||||||
unescaped_utf[3] =
|
|
||||||
0x80 | (tok->ucs_char & 0x3f);
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb, (char *)unescaped_utf, 4);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* Don't know what we got--insert the replacement char */
|
|
||||||
printbuf_memappend_fast(
|
|
||||||
tok->pb, (char *)utf8_replacement_char,
|
|
||||||
3);
|
|
||||||
}
|
|
||||||
state = saved_state;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
tok->err = json_tokener_error_parse_string;
|
tok->err = json_tokener_error_parse_string;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok))
|
tok->ucs_char |=
|
||||||
|
((unsigned int)jt_hexdigit(c) << ((3 - tok->st_pos) * 4));
|
||||||
|
tok->st_pos++;
|
||||||
|
if (tok->st_pos >= 4)
|
||||||
|
break;
|
||||||
|
|
||||||
|
(void)ADVANCE_CHAR(str, tok);
|
||||||
|
if (!PEEK_CHAR(c, tok))
|
||||||
{
|
{
|
||||||
/* Clean up any pending chars */
|
/*
|
||||||
if (got_hi_surrogate)
|
* We're out of characters in the current call to
|
||||||
printbuf_memappend_fast(
|
* json_tokener_parse(), but a subsequent call might
|
||||||
tok->pb, (char *)utf8_replacement_char, 3);
|
* provide us with more, so leave our current state
|
||||||
|
* as-is (including tok->high_surrogate) and return.
|
||||||
|
*/
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tok->st_pos = 0;
|
||||||
|
|
||||||
|
/* Now, we have a full \uNNNN sequence in tok->ucs_char */
|
||||||
|
|
||||||
|
/* If the *previous* sequence was a high surrogate ... */
|
||||||
|
if (tok->high_surrogate)
|
||||||
|
{
|
||||||
|
if (IS_LOW_SURROGATE(tok->ucs_char))
|
||||||
|
{
|
||||||
|
/* Recalculate the ucs_char, then fall thru to process normally */
|
||||||
|
tok->ucs_char = DECODE_SURROGATE_PAIR(tok->high_surrogate,
|
||||||
|
tok->ucs_char);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* High surrogate was not followed by a low surrogate
|
||||||
|
* Replace the high and process the rest normally
|
||||||
|
*/
|
||||||
|
printbuf_memappend_fast(tok->pb,
|
||||||
|
(char *)utf8_replacement_char, 3);
|
||||||
|
}
|
||||||
|
tok->high_surrogate = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tok->ucs_char < 0x80)
|
||||||
|
{
|
||||||
|
unsigned char unescaped_utf[1];
|
||||||
|
unescaped_utf[0] = tok->ucs_char;
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)unescaped_utf, 1);
|
||||||
|
}
|
||||||
|
else if (tok->ucs_char < 0x800)
|
||||||
|
{
|
||||||
|
unsigned char unescaped_utf[2];
|
||||||
|
unescaped_utf[0] = 0xc0 | (tok->ucs_char >> 6);
|
||||||
|
unescaped_utf[1] = 0x80 | (tok->ucs_char & 0x3f);
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)unescaped_utf, 2);
|
||||||
|
}
|
||||||
|
else if (IS_HIGH_SURROGATE(tok->ucs_char))
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* The next two characters should be \u, HOWEVER,
|
||||||
|
* we can't simply peek ahead here, because the
|
||||||
|
* characters we need might not be passed to us
|
||||||
|
* until a subsequent call to json_tokener_parse.
|
||||||
|
* Instead, transition throug a couple of states.
|
||||||
|
* (now):
|
||||||
|
* _escape_unicode => _unicode_need_escape
|
||||||
|
* (see a '\\' char):
|
||||||
|
* _unicode_need_escape => _unicode_need_u
|
||||||
|
* (see a 'u' char):
|
||||||
|
* _unicode_need_u => _escape_unicode
|
||||||
|
* ...and we'll end up back around here.
|
||||||
|
*/
|
||||||
|
tok->high_surrogate = tok->ucs_char;
|
||||||
|
tok->ucs_char = 0;
|
||||||
|
state = json_tokener_state_escape_unicode_need_escape;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else if (IS_LOW_SURROGATE(tok->ucs_char))
|
||||||
|
{
|
||||||
|
/* Got a low surrogate not preceded by a high */
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)utf8_replacement_char, 3);
|
||||||
|
}
|
||||||
|
else if (tok->ucs_char < 0x10000)
|
||||||
|
{
|
||||||
|
unsigned char unescaped_utf[3];
|
||||||
|
unescaped_utf[0] = 0xe0 | (tok->ucs_char >> 12);
|
||||||
|
unescaped_utf[1] = 0x80 | ((tok->ucs_char >> 6) & 0x3f);
|
||||||
|
unescaped_utf[2] = 0x80 | (tok->ucs_char & 0x3f);
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)unescaped_utf, 3);
|
||||||
|
}
|
||||||
|
else if (tok->ucs_char < 0x110000)
|
||||||
|
{
|
||||||
|
unsigned char unescaped_utf[4];
|
||||||
|
unescaped_utf[0] = 0xf0 | ((tok->ucs_char >> 18) & 0x07);
|
||||||
|
unescaped_utf[1] = 0x80 | ((tok->ucs_char >> 12) & 0x3f);
|
||||||
|
unescaped_utf[2] = 0x80 | ((tok->ucs_char >> 6) & 0x3f);
|
||||||
|
unescaped_utf[3] = 0x80 | (tok->ucs_char & 0x3f);
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)unescaped_utf, 4);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* Don't know what we got--insert the replacement char */
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)utf8_replacement_char, 3);
|
||||||
|
}
|
||||||
|
state = saved_state; // i.e. _state_string or _state_object_field
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case json_tokener_state_escape_unicode_need_escape:
|
||||||
|
// We get here after processing a high_surrogate
|
||||||
|
// require a '\\' char
|
||||||
|
if (!c || c != '\\')
|
||||||
|
{
|
||||||
|
/* Got a high surrogate without another sequence following
|
||||||
|
* it. Put a replacement char in for the high surrogate
|
||||||
|
* and pop back up to _state_string or _state_object_field.
|
||||||
|
*/
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)utf8_replacement_char, 3);
|
||||||
|
tok->high_surrogate = 0;
|
||||||
|
tok->ucs_char = 0;
|
||||||
|
tok->st_pos = 0;
|
||||||
|
state = saved_state;
|
||||||
|
goto redo_char;
|
||||||
|
}
|
||||||
|
state = json_tokener_state_escape_unicode_need_u;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case json_tokener_state_escape_unicode_need_u:
|
||||||
|
/* We already had a \ char, check that it's \u */
|
||||||
|
if (!c || c != 'u')
|
||||||
|
{
|
||||||
|
/* Got a high surrogate with some non-unicode escape
|
||||||
|
* sequence following it.
|
||||||
|
* Put a replacement char in for the high surrogate
|
||||||
|
* and handle the escape sequence normally.
|
||||||
|
*/
|
||||||
|
printbuf_memappend_fast(tok->pb, (char *)utf8_replacement_char, 3);
|
||||||
|
tok->high_surrogate = 0;
|
||||||
|
tok->ucs_char = 0;
|
||||||
|
tok->st_pos = 0;
|
||||||
|
state = json_tokener_state_string_escape;
|
||||||
|
goto redo_char;
|
||||||
|
}
|
||||||
|
state = json_tokener_state_escape_unicode;
|
||||||
|
break;
|
||||||
|
|
||||||
|
// ===================================================
|
||||||
|
|
||||||
case json_tokener_state_boolean:
|
case json_tokener_state_boolean:
|
||||||
{
|
{
|
||||||
int size1, size2;
|
int size1, size2;
|
||||||
@@ -844,9 +848,38 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
const char *case_start = str;
|
const char *case_start = str;
|
||||||
int case_len = 0;
|
int case_len = 0;
|
||||||
int is_exponent = 0;
|
int is_exponent = 0;
|
||||||
int negativesign_next_possible_location = 1;
|
int neg_sign_ok = 1;
|
||||||
while (c && strchr(json_number_chars, c))
|
int pos_sign_ok = 0;
|
||||||
|
if (printbuf_length(tok->pb) > 0)
|
||||||
{
|
{
|
||||||
|
/* We don't save all state from the previous incremental parse
|
||||||
|
so we need to re-generate it based on the saved string so far.
|
||||||
|
*/
|
||||||
|
char *e_loc = strchr(tok->pb->buf, 'e');
|
||||||
|
if (!e_loc)
|
||||||
|
e_loc = strchr(tok->pb->buf, 'E');
|
||||||
|
if (e_loc)
|
||||||
|
{
|
||||||
|
char *last_saved_char =
|
||||||
|
&tok->pb->buf[printbuf_length(tok->pb) - 1];
|
||||||
|
is_exponent = 1;
|
||||||
|
pos_sign_ok = neg_sign_ok = 1;
|
||||||
|
/* If the "e" isn't at the end, we can't start with a '-' */
|
||||||
|
if (e_loc != last_saved_char)
|
||||||
|
{
|
||||||
|
neg_sign_ok = 0;
|
||||||
|
pos_sign_ok = 0;
|
||||||
|
}
|
||||||
|
// else leave it set to 1, i.e. start of the new input
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
while (c && ((c >= '0' && c <= '9') ||
|
||||||
|
(!is_exponent && (c == 'e' || c == 'E')) ||
|
||||||
|
(neg_sign_ok && c == '-') || (pos_sign_ok && c == '+') ||
|
||||||
|
(!tok->is_double && c == '.')))
|
||||||
|
{
|
||||||
|
pos_sign_ok = neg_sign_ok = 0;
|
||||||
++case_len;
|
++case_len;
|
||||||
|
|
||||||
/* non-digit characters checks */
|
/* non-digit characters checks */
|
||||||
@@ -855,40 +888,21 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
* protected from input starting with '.' or
|
* protected from input starting with '.' or
|
||||||
* e/E.
|
* e/E.
|
||||||
*/
|
*/
|
||||||
if (c == '.')
|
switch (c)
|
||||||
{
|
{
|
||||||
if (tok->is_double != 0)
|
case '.':
|
||||||
{
|
|
||||||
/* '.' can only be found once, and out of the exponent part.
|
|
||||||
* Thus, if the input is already flagged as double, it
|
|
||||||
* is invalid.
|
|
||||||
*/
|
|
||||||
tok->err = json_tokener_error_parse_number;
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
tok->is_double = 1;
|
tok->is_double = 1;
|
||||||
}
|
pos_sign_ok = 1;
|
||||||
if (c == 'e' || c == 'E')
|
neg_sign_ok = 1;
|
||||||
{
|
break;
|
||||||
if (is_exponent != 0)
|
case 'e': /* FALLTHRU */
|
||||||
{
|
case 'E':
|
||||||
/* only one exponent possible */
|
|
||||||
tok->err = json_tokener_error_parse_number;
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
is_exponent = 1;
|
is_exponent = 1;
|
||||||
tok->is_double = 1;
|
tok->is_double = 1;
|
||||||
/* the exponent part can begin with a negative sign */
|
/* the exponent part can begin with a negative sign */
|
||||||
negativesign_next_possible_location = case_len + 1;
|
pos_sign_ok = neg_sign_ok = 1;
|
||||||
}
|
break;
|
||||||
if (c == '-' && case_len != negativesign_next_possible_location)
|
default: break;
|
||||||
{
|
|
||||||
/* If the negative sign is not where expected (ie
|
|
||||||
* start of input or start of exponent part), the
|
|
||||||
* input is invalid.
|
|
||||||
*/
|
|
||||||
tok->err = json_tokener_error_parse_number;
|
|
||||||
goto out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok))
|
if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok))
|
||||||
@@ -897,6 +911,20 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
Now we know c isn't a valid number char, but check whether
|
||||||
|
it might have been intended to be, and return a potentially
|
||||||
|
more understandable error right away.
|
||||||
|
However, if we're at the top-level, use the number as-is
|
||||||
|
because c can be part of a new object to parse on the
|
||||||
|
next call to json_tokener_parse().
|
||||||
|
*/
|
||||||
|
if (tok->depth > 0 && c != ',' && c != ']' && c != '}' && c != '/' &&
|
||||||
|
c != 'I' && c != 'i' && !isspace((unsigned char)c))
|
||||||
|
{
|
||||||
|
tok->err = json_tokener_error_parse_number;
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
if (case_len > 0)
|
if (case_len > 0)
|
||||||
printbuf_memappend_fast(tok->pb, case_start, case_len);
|
printbuf_memappend_fast(tok->pb, case_start, case_len);
|
||||||
|
|
||||||
@@ -907,6 +935,22 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
tok->st_pos = 0;
|
tok->st_pos = 0;
|
||||||
goto redo_char;
|
goto redo_char;
|
||||||
}
|
}
|
||||||
|
if (tok->is_double && !(tok->flags & JSON_TOKENER_STRICT))
|
||||||
|
{
|
||||||
|
/* Trim some chars off the end, to allow things
|
||||||
|
like "123e+" to parse ok. */
|
||||||
|
while (printbuf_length(tok->pb) > 1)
|
||||||
|
{
|
||||||
|
char last_char = tok->pb->buf[printbuf_length(tok->pb) - 1];
|
||||||
|
if (last_char != 'e' && last_char != 'E' &&
|
||||||
|
last_char != '-' && last_char != '+')
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
tok->pb->buf[printbuf_length(tok->pb) - 1] = '\0';
|
||||||
|
printbuf_length(tok->pb)--;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
int64_t num64;
|
int64_t num64;
|
||||||
@@ -943,7 +987,8 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (tok->is_double &&
|
else if (tok->is_double &&
|
||||||
json_parse_double(tok->pb->buf, &numd) == 0)
|
json_tokener_parse_double(
|
||||||
|
tok->pb->buf, printbuf_length(tok->pb), &numd) == 0)
|
||||||
{
|
{
|
||||||
current = json_object_new_double_s(numd, tok->pb->buf);
|
current = json_object_new_double_s(numd, tok->pb->buf);
|
||||||
if (current == NULL)
|
if (current == NULL)
|
||||||
@@ -964,6 +1009,9 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
case json_tokener_state_array:
|
case json_tokener_state_array:
|
||||||
if (c == ']')
|
if (c == ']')
|
||||||
{
|
{
|
||||||
|
// Minimize memory usage; assume parsed objs are unlikely to be changed
|
||||||
|
json_object_array_shrink(current, 0);
|
||||||
|
|
||||||
if (state == json_tokener_state_array_after_sep &&
|
if (state == json_tokener_state_array_after_sep &&
|
||||||
(tok->flags & JSON_TOKENER_STRICT))
|
(tok->flags & JSON_TOKENER_STRICT))
|
||||||
{
|
{
|
||||||
@@ -997,6 +1045,9 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
case json_tokener_state_array_sep:
|
case json_tokener_state_array_sep:
|
||||||
if (c == ']')
|
if (c == ']')
|
||||||
{
|
{
|
||||||
|
// Minimize memory usage; assume parsed objs are unlikely to be changed
|
||||||
|
json_object_array_shrink(current, 0);
|
||||||
|
|
||||||
saved_state = json_tokener_state_finish;
|
saved_state = json_tokener_state_finish;
|
||||||
state = json_tokener_state_eatws;
|
state = json_tokener_state_eatws;
|
||||||
}
|
}
|
||||||
@@ -1122,8 +1173,9 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!ADVANCE_CHAR(str, tok))
|
(void)ADVANCE_CHAR(str, tok);
|
||||||
goto out;
|
if (!c) // This is the char *before* advancing
|
||||||
|
break;
|
||||||
} /* while(PEEK_CHAR) */
|
} /* while(PEEK_CHAR) */
|
||||||
|
|
||||||
out:
|
out:
|
||||||
@@ -1132,7 +1184,8 @@ out:
|
|||||||
tok->err = json_tokener_error_parse_utf8_string;
|
tok->err = json_tokener_error_parse_utf8_string;
|
||||||
}
|
}
|
||||||
if (c && (state == json_tokener_state_finish) && (tok->depth == 0) &&
|
if (c && (state == json_tokener_state_finish) && (tok->depth == 0) &&
|
||||||
(tok->flags & (JSON_TOKENER_STRICT|JSON_TOKENER_ALLOW_TRAILING_CHARS)) == JSON_TOKENER_STRICT)
|
(tok->flags & (JSON_TOKENER_STRICT | JSON_TOKENER_ALLOW_TRAILING_CHARS)) ==
|
||||||
|
JSON_TOKENER_STRICT)
|
||||||
{
|
{
|
||||||
/* unexpected char after JSON data */
|
/* unexpected char after JSON data */
|
||||||
tok->err = json_tokener_error_parse_unexpected;
|
tok->err = json_tokener_error_parse_unexpected;
|
||||||
@@ -1204,3 +1257,12 @@ size_t json_tokener_get_parse_end(struct json_tokener *tok)
|
|||||||
assert(tok->char_offset >= 0); /* Drop this line when char_offset becomes a size_t */
|
assert(tok->char_offset >= 0); /* Drop this line when char_offset becomes a size_t */
|
||||||
return (size_t)tok->char_offset;
|
return (size_t)tok->char_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int json_tokener_parse_double(const char *buf, int len, double *retval)
|
||||||
|
{
|
||||||
|
char *end;
|
||||||
|
*retval = strtod(buf, &end);
|
||||||
|
if (buf + len == end)
|
||||||
|
return 0; // It worked
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|||||||