mirror of
https://github.com/json-c/json-c.git
synced 2026-04-03 04:19:07 +08:00
Compare commits
2 Commits
json-c-0.1
...
json-c-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bae2f10c43 | ||
|
|
4824a38318 |
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,23 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
Note: for general questions and comments, please use the forums at:
|
||||
https://groups.google.com/forum/#!forum/json-c
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is, and any information about where you're running into the bug that you feel might be relevant.
|
||||
|
||||
**Steps To Reproduce**
|
||||
List the steps to reproduce the behavior.
|
||||
If possible, please attach a sample json file and/or a minimal code example.
|
||||
|
||||
**Version and Platform**
|
||||
- json-c version: [e.g. json-c-0.14, or a specific commit hash]
|
||||
- OS: [e.g. Ubuntu 20.04, Debian Buster, NetBSD 9, etc...]
|
||||
- Custom cmake/build flags, if any
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -83,11 +83,7 @@
|
||||
/Testing/
|
||||
|
||||
# ...and build artifacts.
|
||||
/doc/html
|
||||
/doc
|
||||
/libjson-c.a
|
||||
/libjson-c.so
|
||||
/libjson-c.so.*
|
||||
|
||||
# Benchmarking input and output
|
||||
/bench/data
|
||||
/bench/work
|
||||
|
||||
148
CMakeLists.txt
148
CMakeLists.txt
@@ -7,15 +7,7 @@ if(POLICY CMP0048)
|
||||
endif()
|
||||
|
||||
# JSON-C library is C only project.
|
||||
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()
|
||||
project(json-c LANGUAGES C VERSION 0.14)
|
||||
|
||||
# If we've got 3.0 then it's good, let's provide support. Otherwise, leave it be.
|
||||
if(POLICY CMP0038)
|
||||
@@ -48,10 +40,6 @@ if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
if (NOT MSVC) # cmd line apps don't built on Windows currently.
|
||||
add_subdirectory(apps)
|
||||
endif()
|
||||
|
||||
# Set some packaging variables.
|
||||
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
|
||||
@@ -77,7 +65,6 @@ include(GNUInstallDirs)
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Default to building shared libraries" ON)
|
||||
option(BUILD_STATIC_LIBS "Default to building static libraries" ON)
|
||||
|
||||
# Generate a release merge and test it to verify the correctness of republishing the package.
|
||||
ADD_CUSTOM_TARGET(distcheck
|
||||
@@ -91,13 +78,10 @@ COMMAND make package_source
|
||||
)
|
||||
|
||||
# Enable or disable features. By default, all features are turned off.
|
||||
option(DISABLE_BSYMBOLIC "Avoid linking with -Bsymbolic-function." OFF)
|
||||
option(DISABLE_THREAD_LOCAL_STORAGE "Disable using Thread-Local Storage (HAVE___THREAD)." OFF)
|
||||
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors." OFF)
|
||||
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed." OFF)
|
||||
option(ENABLE_THREADING "Enable partial threading support." OFF)
|
||||
option(OVERRIDE_GET_RANDOM_SEED "Override json_c_get_random_seed() with custom code." OFF)
|
||||
|
||||
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed" OFF)
|
||||
option(ENABLE_THREADING "Enable partial threading support." OFF)
|
||||
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors" OFF)
|
||||
option(DISABLE_BSYMBOLIC "Avoid linking with -Bsymbolic-function" OFF)
|
||||
|
||||
if (UNIX OR MINGW OR CYGWIN)
|
||||
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
|
||||
@@ -112,14 +96,6 @@ if (MSVC)
|
||||
list(APPEND CMAKE_REQUIRED_FLAGS /wd4996)
|
||||
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("inttypes.h" HAVE_INTTYPES_H)
|
||||
check_include_file(stdarg.h HAVE_STDARG_H)
|
||||
@@ -132,7 +108,6 @@ check_include_files("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
|
||||
|
||||
check_include_file(unistd.h HAVE_UNISTD_H)
|
||||
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
|
||||
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) # for getrusage
|
||||
|
||||
check_include_file("dlfcn.h" HAVE_DLFCN_H)
|
||||
check_include_file("endian.h" HAVE_ENDIAN_H)
|
||||
@@ -190,9 +165,6 @@ endif()
|
||||
if (HAVE_SYSLOG_H)
|
||||
check_symbol_exists(vsyslog "syslog.h" HAVE_VSYSLOG)
|
||||
endif()
|
||||
if (HAVE_SYS_RESOURCE_H)
|
||||
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
|
||||
endif()
|
||||
|
||||
check_symbol_exists(strtoll "stdlib.h" HAVE_STRTOLL)
|
||||
check_symbol_exists(strtoull "stdlib.h" HAVE_STRTOULL)
|
||||
@@ -223,35 +195,27 @@ check_type_size(int64_t SIZEOF_INT64_T)
|
||||
check_type_size(long SIZEOF_LONG)
|
||||
check_type_size("long long" SIZEOF_LONG_LONG)
|
||||
check_type_size("size_t" SIZEOF_SIZE_T)
|
||||
if (MSVC)
|
||||
list(APPEND CMAKE_EXTRA_INCLUDE_FILES BaseTsd.h)
|
||||
check_type_size("SSIZE_T" SIZEOF_SSIZE_T)
|
||||
else()
|
||||
check_type_size("ssize_t" SIZEOF_SSIZE_T)
|
||||
endif()
|
||||
|
||||
check_c_source_compiles(
|
||||
"
|
||||
[=[
|
||||
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;}
|
||||
"
|
||||
]=]
|
||||
HAS_GNU_WARNING_LONG)
|
||||
|
||||
check_c_source_compiles(
|
||||
"int main() { int i, x = 0; i = __sync_add_and_fetch(&x,1); return x; }"
|
||||
HAVE_ATOMIC_BUILTINS)
|
||||
|
||||
if (NOT DISABLE_THREAD_LOCAL_STORAGE)
|
||||
check_c_source_compiles(
|
||||
"__thread int x = 0; int main() { return 0; }"
|
||||
HAVE___THREAD)
|
||||
check_c_source_compiles(
|
||||
"__thread int x = 0; int main() { return 0; }"
|
||||
HAVE___THREAD)
|
||||
|
||||
if (HAVE___THREAD)
|
||||
set(SPEC___THREAD __thread)
|
||||
elseif (MSVC)
|
||||
set(SPEC___THREAD __declspec(thread))
|
||||
endif()
|
||||
if (HAVE___THREAD)
|
||||
set(SPEC___THREAD __thread)
|
||||
elseif (MSVC)
|
||||
set(SPEC___THREAD __declspec(thread))
|
||||
endif()
|
||||
|
||||
# Hardware random number is not available on Windows? Says, config.h.win32. Best to preserve compatibility.
|
||||
@@ -261,9 +225,9 @@ endif()
|
||||
|
||||
# Once we've done basic symbol/header searches let's add them in.
|
||||
configure_file(${PROJECT_SOURCE_DIR}/cmake/config.h.in ${PROJECT_BINARY_DIR}/config.h)
|
||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/config.h")
|
||||
message(STATUS "Written ${PROJECT_BINARY_DIR}/config.h")
|
||||
configure_file(${PROJECT_SOURCE_DIR}/cmake/json_config.h.in ${PROJECT_BINARY_DIR}/json_config.h)
|
||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/json_config.h")
|
||||
message(STATUS "Written ${PROJECT_BINARY_DIR}/json_config.h")
|
||||
|
||||
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections")
|
||||
@@ -294,7 +258,7 @@ endif()
|
||||
|
||||
if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
||||
check_c_source_compiles(
|
||||
"
|
||||
[=[
|
||||
/* uClibc toolchains without threading barf when _REENTRANT is defined */
|
||||
#define _REENTRANT 1
|
||||
#include <sys/types.h>
|
||||
@@ -302,7 +266,7 @@ if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
"
|
||||
]=]
|
||||
REENTRANT_WORKS
|
||||
)
|
||||
if (REENTRANT_WORKS)
|
||||
@@ -313,12 +277,12 @@ if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
||||
# Others may not support it, too.
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||
check_c_source_compiles(
|
||||
"
|
||||
[=[
|
||||
int main (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
"
|
||||
]=]
|
||||
BSYMBOLIC_WORKS
|
||||
)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||
@@ -327,22 +291,6 @@ if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
|
||||
# XXX need cmake>=3.13 for this:
|
||||
#add_link_options("-Wl,-Bsymbolic-functions")
|
||||
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()
|
||||
|
||||
if ($ENV{VALGRIND})
|
||||
@@ -351,7 +299,7 @@ if ($ENV{VALGRIND})
|
||||
endif()
|
||||
|
||||
set(JSON_C_PUBLIC_HEADERS
|
||||
# Note: config.h is _not_ included here
|
||||
${PROJECT_BINARY_DIR}/config.h
|
||||
${PROJECT_BINARY_DIR}/json_config.h
|
||||
|
||||
${PROJECT_SOURCE_DIR}/json.h
|
||||
@@ -401,7 +349,23 @@ set(JSON_C_SOURCES
|
||||
include_directories(${PROJECT_SOURCE_DIR})
|
||||
include_directories(${PROJECT_BINARY_DIR})
|
||||
|
||||
add_subdirectory(doc)
|
||||
# generate doxygen documentation for json-c API
|
||||
|
||||
find_package(Doxygen)
|
||||
option(BUILD_DOCUMENTATION "Create and install the HTML based API documentation(requires Doxygen)" ${DOXYGEN_FOUND})
|
||||
|
||||
if (DOXYGEN_FOUND)
|
||||
|
||||
add_custom_target(doc
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Doxyfile
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
|
||||
|
||||
# request to configure the file
|
||||
configure_file(Doxyfile Doxyfile)
|
||||
|
||||
else (DOXYGEN_FOUND)
|
||||
message("Warning: doxygen not found, the 'doc' target will not be included")
|
||||
endif(DOXYGEN_FOUND)
|
||||
|
||||
# uninstall
|
||||
add_custom_target(uninstall
|
||||
@@ -417,9 +381,9 @@ add_library(${PROJECT_NAME}
|
||||
${JSON_C_HEADERS}
|
||||
)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
VERSION 5.1.0
|
||||
VERSION 5.0.0
|
||||
SOVERSION 5)
|
||||
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
|
||||
|
||||
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
||||
# to build external target without extra include_directories(...)
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
@@ -428,35 +392,7 @@ target_include_directories(${PROJECT_NAME}
|
||||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
|
||||
)
|
||||
|
||||
# Allow to build static and shared libraries at the same time
|
||||
if (BUILD_STATIC_LIBS AND BUILD_SHARED_LIBS)
|
||||
set(STATIC_LIB ${PROJECT_NAME}-static)
|
||||
add_library(${STATIC_LIB} STATIC
|
||||
${JSON_C_SOURCES}
|
||||
${JSON_C_HEADERS}
|
||||
)
|
||||
|
||||
# rename the static library
|
||||
if (NOT MSVC)
|
||||
set_target_properties(${STATIC_LIB} PROPERTIES
|
||||
OUTPUT_NAME ${PROJECT_NAME}
|
||||
)
|
||||
endif()
|
||||
list(APPEND CMAKE_TARGETS ${STATIC_LIB})
|
||||
endif ()
|
||||
|
||||
# Always create new install dirs with 0755 permissions, regardless of umask
|
||||
set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
|
||||
OWNER_READ
|
||||
OWNER_WRITE
|
||||
OWNER_EXECUTE
|
||||
GROUP_READ
|
||||
GROUP_EXECUTE
|
||||
WORLD_READ
|
||||
WORLD_EXECUTE
|
||||
)
|
||||
|
||||
install(TARGETS ${CMAKE_TARGETS}
|
||||
install(TARGETS ${PROJECT_NAME}
|
||||
EXPORT ${PROJECT_NAME}-targets
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
|
||||
67
ChangeLog
67
ChangeLog
@@ -1,71 +1,4 @@
|
||||
|
||||
Next Release 0.15
|
||||
=====================
|
||||
|
||||
Deprecated and removed features:
|
||||
--------------------------------
|
||||
* Deprecate `array_list_new()` in favor of `array_list_new2()`
|
||||
* Remove the THIS_FUNCTION_IS_DEPRECATED define.
|
||||
* Remove config.h.win32
|
||||
|
||||
New features
|
||||
------------
|
||||
* Add a `JSON_TOKENER_ALLOW_TRAILING_CHARS` flag to allow multiple objects
|
||||
to be parsed even when `JSON_TOKENER_STRICT` is set.
|
||||
* Add `json_object_new_array_ext(int)` and `array_list_new_2(int)` to allow
|
||||
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
|
||||
each json_type (json_object_object, json_object_string, etc...).
|
||||
This improves memory usage and speed, with the benchmark under
|
||||
bench/ report 5.8% faster test time and 6%(max RSS)-12%(peak heap)
|
||||
less memory usage.
|
||||
Memory used just for json_object structures decreased 27%, so use cases
|
||||
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
|
||||
|
||||
|
||||
***
|
||||
|
||||
0.14 (up to commit 9ed00a6, 2020/04/14)
|
||||
=========================================
|
||||
|
||||
@@ -38,7 +38,7 @@ PROJECT_NAME = json-c
|
||||
# could be handy for archiving the generated documentation or if some version
|
||||
# control system is used.
|
||||
|
||||
PROJECT_NUMBER = 0.15
|
||||
PROJECT_NUMBER = 0.14
|
||||
|
||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||
# for a project that appears at the top of each page and should give viewer a
|
||||
@@ -58,7 +58,7 @@ PROJECT_LOGO =
|
||||
# entered, it will be relative to the location where doxygen was started. If
|
||||
# left blank the current directory will be used.
|
||||
|
||||
OUTPUT_DIRECTORY = /home/erh/distcheck/doc
|
||||
OUTPUT_DIRECTORY = doc
|
||||
|
||||
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
|
||||
# directories (in 2 levels) under the output directory of each output format and
|
||||
@@ -753,7 +753,7 @@ WARN_LOGFILE =
|
||||
# spaces.
|
||||
# Note: If this tag is empty the current directory is searched.
|
||||
|
||||
INPUT = /home/erh/json-c-0.15 /home/erh/distcheck
|
||||
INPUT =
|
||||
|
||||
# This tag can be used to specify the character encoding of the source files
|
||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
||||
@@ -805,13 +805,7 @@ EXCLUDE_SYMLINKS = NO
|
||||
# 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_PATTERNS = \
|
||||
*/json_object_private.h \
|
||||
*/debug.h \
|
||||
*/*config.h \
|
||||
*/random_seed.h \
|
||||
*/strerror_*h \
|
||||
*/*compat.h
|
||||
EXCLUDE_PATTERNS =
|
||||
|
||||
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
||||
# (namespaces, classes, functions, etc.) that should be excluded from the
|
||||
@@ -822,11 +816,7 @@ EXCLUDE_PATTERNS = \
|
||||
# Note that the wildcards are matched against the file with absolute path, so to
|
||||
# exclude all test directories use the pattern */test/*
|
||||
|
||||
EXCLUDE_SYMBOLS = \
|
||||
_json_c_* \
|
||||
_LH_* \
|
||||
_printbuf_* \
|
||||
__STRING
|
||||
EXCLUDE_SYMBOLS =
|
||||
|
||||
# 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
|
||||
@@ -869,7 +859,7 @@ IMAGE_PATH =
|
||||
# code is scanned, but not when the output code is generated. If lines are added
|
||||
# or removed, the anchors will not be placed correctly.
|
||||
|
||||
INPUT_FILTER = /home/erh/json-c-0.15/doc/fixup_markdown.sh
|
||||
INPUT_FILTER =
|
||||
|
||||
# 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
|
||||
61
README.md
61
README.md
@@ -1,5 +1,3 @@
|
||||
\mainpage
|
||||
|
||||
`json-c`
|
||||
========
|
||||
|
||||
@@ -95,25 +93,20 @@ CMake Options <a name="CMake"></a>
|
||||
The json-c library is built with [CMake](https://cmake.org/cmake-tutorial/),
|
||||
which can take a few options.
|
||||
|
||||
Variable | Type | Description
|
||||
-----------------------------|--------|--------------
|
||||
CMAKE_INSTALL_PREFIX | String | The install location.
|
||||
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_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_THREAD_LOCAL_STORAGE | Bool | Disable use of Thread-Local Storage (HAVE___THREAD).
|
||||
DISABLE_WERROR | Bool | Disable use of -Werror.
|
||||
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed.
|
||||
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.
|
||||
Variable | Type | Description
|
||||
---------------------|--------|--------------
|
||||
CMAKE_INSTALL_PREFIX | String | The install location.
|
||||
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 instead.
|
||||
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed
|
||||
ENABLE_THREADING | Bool | Enable partial threading support
|
||||
DISABLE_WERROR | Bool | Disable use of -Werror
|
||||
DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions
|
||||
|
||||
Pass these options as `-D` on CMake's command-line.
|
||||
|
||||
```sh
|
||||
# build a static library only
|
||||
cmake -DBUILD_SHARED_LIBS=OFF ..
|
||||
cmake -DBUILD_SHARED_LIBS=OFF ...
|
||||
```
|
||||
|
||||
### Building with partial threading support
|
||||
@@ -239,38 +232,8 @@ following more specific header files:
|
||||
* json_tokener.h - Methods for parsing and serializing json-c object trees.
|
||||
* json_pointer.h - JSON Pointer (RFC 6901) implementation for retrieving
|
||||
objects from a json-c object tree.
|
||||
* json_object_iterator.h - Methods for iterating over single json_object instances. (See also `json_object_object_foreach()` in json_object.h)
|
||||
* json_object_iterator.h - Methods for iterating over single json_object instances.
|
||||
* json_visit.h - Methods for walking a tree of json-c objects.
|
||||
* json_util.h - Miscelleanous utility functions.
|
||||
|
||||
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.
|
||||
|
||||
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)
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
* https://github.com/lvc/abi-compliance-checker
|
||||
* If the new release is not backwards compatible, then this is a MAJOR release.
|
||||
* 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
|
||||
* Exclude mentioning changes that have already been included in a point
|
||||
release of the previous release branch.
|
||||
@@ -33,7 +31,7 @@
|
||||
## Release creation
|
||||
|
||||
Start creating the new release:
|
||||
release=0.15
|
||||
release=0.14
|
||||
git clone https://github.com/json-c/json-c json-c-${release}
|
||||
|
||||
mkdir distcheck
|
||||
@@ -54,6 +52,7 @@ Make any fixes/changes *before* branching.
|
||||
|
||||
Using ${release}:
|
||||
Update the version in json_c_version.h
|
||||
Update the version in Doxyfile (PROJECT_NUMBER)
|
||||
Update the version in CMakeLists.txt (VERSION in the project(...) line)
|
||||
Update the version in config.h.win32 (several places)
|
||||
|
||||
@@ -65,11 +64,6 @@ to
|
||||
|
||||
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:
|
||||
@@ -105,7 +99,7 @@ Go to Amazon S3 service at:
|
||||
https://console.aws.amazon.com/s3/
|
||||
|
||||
Upload the two tarballs in the json-c_releases folder.
|
||||
When uploading, use "Standard" storage class, and make the uploaded files publicly accessible.
|
||||
When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
|
||||
|
||||
Logout of Amazon S3, and verify that the files are visible.
|
||||
https://s3.amazonaws.com/json-c_releases/releases/index.html
|
||||
@@ -120,6 +114,7 @@ Add new section to ChangeLog for ${release}+1
|
||||
|
||||
Use ${release}.99 to indicate a version "newer" than anything on the branch:
|
||||
Update the version in json_c_version.h
|
||||
Update the version in Doxyfile
|
||||
Update the version in CMakeLists.txt
|
||||
Update the version in config.h.win32
|
||||
|
||||
@@ -127,9 +122,6 @@ Update RELEASE_CHECKLIST.txt, set release=${release}+1
|
||||
|
||||
Update the set_target_properties() line in CmakeLists.txt to match the release branch.
|
||||
|
||||
git commit -a -m "Update the master branch to version 0.${release}.99"
|
||||
git push
|
||||
|
||||
------------
|
||||
|
||||
Update the gh-pages branch with new docs:
|
||||
@@ -143,12 +135,12 @@ Update the gh-pages branch with new docs:
|
||||
mkdir json-c-${release}
|
||||
cp -R ../json-c-${release}/doc json-c-${release}/.
|
||||
git add json-c-${release}
|
||||
git commit -a -m "Add the ${release} docs."
|
||||
git commit
|
||||
|
||||
vi index.html
|
||||
# Add/change links to current release.
|
||||
|
||||
git commit -a -m "Update the doc links to point at ${release}"
|
||||
git commit index.html
|
||||
|
||||
git push
|
||||
|
||||
|
||||
@@ -1,122 +0,0 @@
|
||||
|
||||
cmake_minimum_required(VERSION 2.8) # see ../CMakeLists.txt for why 2.8
|
||||
|
||||
if(POLICY CMP0075)
|
||||
cmake_policy(SET CMP0075 NEW)
|
||||
endif()
|
||||
|
||||
include(CheckSymbolExists)
|
||||
include(CheckIncludeFile)
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
# First, sort out whether we're running inside a json-c build,
|
||||
# or standalone, such as part of a benchmark build.
|
||||
|
||||
if ("${PROJECT_NAME}" STREQUAL "json-c")
|
||||
# Part of an overall json-c build
|
||||
set(APPS_LINK_LIBS "${PROJECT_NAME}")
|
||||
|
||||
# We know we have this in our current sources:
|
||||
set(HAVE_JSON_TOKENER_GET_PARSE_END)
|
||||
|
||||
else()
|
||||
|
||||
# Standalone mode, using an already installed json-c library, somewhere.
|
||||
# The path to the json-c install must be specified with -DCMAKE_PREFIX_PATH=...
|
||||
|
||||
project(apps)
|
||||
find_package(PkgConfig)
|
||||
|
||||
# PkgConfig is supposed to include CMAKE_PREFIX_PATH in the PKG_CONFIG_PATH
|
||||
# that's used when running pkg-config, but it just doesn't work :(
|
||||
# https://gitlab.kitware.com/cmake/cmake/issues/18150
|
||||
#set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH True)
|
||||
|
||||
# Instead, we handle it explicitly here and update PKG_CONFIG_PATH ourselves.
|
||||
if (NOT CMAKE_PREFIX_PATH)
|
||||
message(FATAL_ERROR "Please specify -DCMAKE_PREFIX_PATH=... when running cmake.")
|
||||
endif()
|
||||
|
||||
# Note: find_file isn't recursive :(
|
||||
find_file(PC_FILE_PATH "json-c.pc"
|
||||
PATHS "${CMAKE_PREFIX_PATH}/lib64" "${CMAKE_PREFIX_PATH}/lib"
|
||||
PATH_SUFFIXES "pkgconfig"
|
||||
NO_DEFAULT_PATH)
|
||||
get_filename_component(PC_DIR_PATH "${PC_FILE_PATH}" DIRECTORY)
|
||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${PC_DIR_PATH}")
|
||||
message(STATUS "PC_FILE_PATH=${PC_FILE_PATH}")
|
||||
message(STATUS "PC_DIR_PATH=${PC_DIR_PATH}")
|
||||
|
||||
pkg_check_modules(PC_JSONC json-c)
|
||||
if (PC_JSONC_FOUND)
|
||||
message(STATUS "Found json-c using pkg-config: ${PC_JSONC_PREFIX}")
|
||||
message(STATUS " PC_JSONC_INCLUDE_DIRS=${PC_JSONC_INCLUDE_DIRS}")
|
||||
message(STATUS " PC_JSONC_LIBRARIES=${PC_JSONC_LIBRARIES}")
|
||||
message(STATUS " PC_JSONC_LIBRARY_DIRS=${PC_JSONC_LIBRARY_DIRS}")
|
||||
link_directories(${PC_JSONC_LIBRARY_DIRS})
|
||||
include_directories(${PC_JSONC_INCLUDE_DIRS})
|
||||
# for target_link_libraries(...)
|
||||
set(APPS_INCLUDE_DIRS ${PC_JSONC_INCLUDE_DIRS})
|
||||
set(APPS_LINK_DIRS ${PC_JSONC_LIBRARY_DIRS})
|
||||
set(APPS_LINK_LIBS ${PC_JSONC_LIBRARIES})
|
||||
else()
|
||||
message(STATUS "Using find_package to locate json-c")
|
||||
|
||||
# Note: find_package needs CMAKE_PREFIX_PATH set appropriately.
|
||||
# XXX json-c's installed cmake files don't actually set up what's
|
||||
# needed to use find_package() by itself, so we're just using it
|
||||
# to confirm the top of the install location.
|
||||
find_package(json-c CONFIG) # sets json-c_DIR
|
||||
|
||||
# Assume json-c-config.cmake is in lib64/cmake/json-c/
|
||||
get_filename_component(json-c_TOP "${json-c_DIR}/../../.." ABSOLUTE)
|
||||
get_filename_component(json-c_LIBDIR "${json-c_DIR}/../.." ABSOLUTE)
|
||||
|
||||
message(STATUS " json-c_TOP=${json-c_TOP}")
|
||||
message(STATUS " json-c_DIR=${json-c_DIR}")
|
||||
message(STATUS " json-c_LIBDIR=${json-c_LIBDIR}")
|
||||
|
||||
link_directories(${json-c_LIBDIR})
|
||||
include_directories(${json-c_TOP}/include)
|
||||
include_directories(${json-c_TOP}/include/json-c)
|
||||
set(APPS_LINK_DIRS "${json-c_LIBDIR}")
|
||||
set(APPS_INCLUDE_DIRS "${json-c_TOP}/include;${json-c_TOP}/include/json-c")
|
||||
|
||||
set(APPS_LINK_LIBS json-c)
|
||||
endif()
|
||||
|
||||
set(CMAKE_REQUIRED_LINK_OPTIONS "-L${APPS_LINK_DIRS}")
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${APPS_LINK_LIBS})
|
||||
set(CMAKE_REQUIRED_INCLUDES ${APPS_INCLUDE_DIRS})
|
||||
check_symbol_exists(json_tokener_get_parse_end "json_tokener.h" HAVE_JSON_TOKENER_GET_PARSE_END)
|
||||
|
||||
endif() # end "standalone mode" block
|
||||
|
||||
# ---------------------------------
|
||||
|
||||
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) # for getrusage
|
||||
if (HAVE_SYS_RESOURCE_H)
|
||||
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
|
||||
endif()
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/apps_config.h.in
|
||||
${PROJECT_BINARY_DIR}/apps_config.h)
|
||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/apps_config.h")
|
||||
|
||||
# ---------------------------------
|
||||
|
||||
include_directories(PUBLIC ${CMAKE_SOURCE_DIR})
|
||||
include_directories(${PROJECT_SOURCE_DIR})
|
||||
include_directories(${PROJECT_BINARY_DIR})
|
||||
|
||||
# ---------------------------------
|
||||
|
||||
# Now, finally, the actual executables we're building:
|
||||
|
||||
add_executable(json_parse json_parse.c)
|
||||
target_link_libraries(json_parse PRIVATE ${APPS_LINK_LIBS})
|
||||
|
||||
# Note: it is intentional that there are no install instructions here yet.
|
||||
# When/if the interface of the app(s) listed here settles down enough to
|
||||
# publish as part of a regular build that will be added.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||
|
||||
/* Define if you have the `getrusage' function. */
|
||||
#cmakedefine HAVE_GETRUSAGE
|
||||
|
||||
#cmakedefine HAVE_JSON_TOKENER_GET_PARSE_END
|
||||
@@ -1,187 +0,0 @@
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "apps_config.h"
|
||||
|
||||
/* XXX for a regular program, these should be <json-c/foo.h>
|
||||
* but that's inconvenient when building in the json-c source tree.
|
||||
*/
|
||||
#include "json_object.h"
|
||||
#include "json_tokener.h"
|
||||
#include "json_util.h"
|
||||
|
||||
#ifdef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/resource.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
static int formatted_output = 0;
|
||||
static int show_output = 1;
|
||||
static int strict_mode = 0;
|
||||
static const char *fname = NULL;
|
||||
|
||||
#ifndef HAVE_JSON_TOKENER_GET_PARSE_END
|
||||
#define json_tokener_get_parse_end(tok) ((tok)->char_offset)
|
||||
#endif
|
||||
|
||||
static void usage(const char *argv0, int exitval, const char *errmsg);
|
||||
static void showmem(void);
|
||||
static int parseit(int fd, int (*callback)(struct json_object *));
|
||||
static int showobj(struct json_object *new_obj);
|
||||
|
||||
static void showmem(void)
|
||||
{
|
||||
#ifdef HAVE_GETRUSAGE
|
||||
struct rusage rusage;
|
||||
memset(&rusage, 0, sizeof(rusage));
|
||||
getrusage(RUSAGE_SELF, &rusage);
|
||||
printf("maxrss: %ld KB\n", rusage.ru_maxrss);
|
||||
#endif
|
||||
}
|
||||
|
||||
static int parseit(int fd, int (*callback)(struct json_object *))
|
||||
{
|
||||
struct json_object *obj;
|
||||
char buf[32768];
|
||||
int ret;
|
||||
int depth = JSON_TOKENER_DEFAULT_DEPTH;
|
||||
json_tokener *tok;
|
||||
|
||||
tok = json_tokener_new_ex(depth);
|
||||
if (!tok)
|
||||
{
|
||||
fprintf(stderr, "unable to allocate json_tokener: %s\n", strerror(errno));
|
||||
return 1;
|
||||
}
|
||||
json_tokener_set_flags(tok, JSON_TOKENER_STRICT
|
||||
#ifdef JSON_TOKENER_ALLOW_TRAILING_CHARS
|
||||
| JSON_TOKENER_ALLOW_TRAILING_CHARS
|
||||
#endif
|
||||
);
|
||||
|
||||
// XXX push this into some kind of json_tokener_parse_fd API?
|
||||
// json_object_from_fd isn't flexible enough, and mirroring
|
||||
// everything you can do with a tokener into json_util.c seems
|
||||
// like the wrong approach.
|
||||
size_t total_read = 0;
|
||||
while ((ret = read(fd, buf, sizeof(buf))) > 0)
|
||||
{
|
||||
total_read += ret;
|
||||
int start_pos = 0;
|
||||
while (start_pos != ret)
|
||||
{
|
||||
obj = json_tokener_parse_ex(tok, &buf[start_pos], ret - start_pos);
|
||||
enum json_tokener_error jerr = json_tokener_get_error(tok);
|
||||
int parse_end = json_tokener_get_parse_end(tok);
|
||||
if (obj == NULL && jerr != json_tokener_continue)
|
||||
{
|
||||
char *aterr = &buf[start_pos + parse_end];
|
||||
fflush(stdout);
|
||||
int fail_offset = total_read - ret + start_pos + parse_end;
|
||||
fprintf(stderr, "Failed at offset %d: %s %c\n", fail_offset,
|
||||
json_tokener_error_desc(jerr), aterr[0]);
|
||||
json_tokener_free(tok);
|
||||
return 1;
|
||||
}
|
||||
if (obj != NULL)
|
||||
{
|
||||
int cb_ret = callback(obj);
|
||||
json_object_put(obj);
|
||||
if (cb_ret != 0)
|
||||
{
|
||||
json_tokener_free(tok);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
start_pos += json_tokener_get_parse_end(tok);
|
||||
assert(start_pos <= ret);
|
||||
}
|
||||
}
|
||||
if (ret < 0)
|
||||
{
|
||||
fprintf(stderr, "error reading fd %d: %s\n", fd, strerror(errno));
|
||||
}
|
||||
|
||||
json_tokener_free(tok);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int showobj(struct json_object *new_obj)
|
||||
{
|
||||
if (new_obj == NULL)
|
||||
{
|
||||
fprintf(stderr, "%s: Failed to parse\n", fname);
|
||||
return 1;
|
||||
}
|
||||
|
||||
printf("Successfully parsed object from %s\n", fname);
|
||||
|
||||
if (show_output)
|
||||
{
|
||||
const char *output;
|
||||
if (formatted_output)
|
||||
output = json_object_to_json_string(new_obj);
|
||||
else
|
||||
output = json_object_to_json_string_ext(new_obj, JSON_C_TO_STRING_PRETTY);
|
||||
printf("%s\n", output);
|
||||
}
|
||||
|
||||
showmem();
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void usage(const char *argv0, int exitval, const char *errmsg)
|
||||
{
|
||||
FILE *fp = stdout;
|
||||
if (exitval != 0)
|
||||
fp = stderr;
|
||||
if (errmsg != NULL)
|
||||
fprintf(fp, "ERROR: %s\n\n", errmsg);
|
||||
fprintf(fp, "Usage: %s [-f] [-n] [-s]\n", argv0);
|
||||
fprintf(fp, " -f - Format the output with JSON_C_TO_STRING_PRETTY\n");
|
||||
fprintf(fp, " -n - No output\n");
|
||||
fprintf(fp, " -s - Parse in strict mode, flags:\n");
|
||||
fprintf(fp, " JSON_TOKENER_STRICT|JSON_TOKENER_ALLOW_TRAILING_CHARS\n");
|
||||
|
||||
fprintf(fp, "\nWARNING WARNING WARNING\n");
|
||||
fprintf(fp, "This is a prototype, it may change or be removed at any time!\n");
|
||||
exit(exitval);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
json_object *new_obj;
|
||||
int opt;
|
||||
|
||||
while ((opt = getopt(argc, argv, "fhns")) != -1)
|
||||
{
|
||||
switch (opt)
|
||||
{
|
||||
case 'f': formatted_output = 1; break;
|
||||
case 'n': show_output = 0; break;
|
||||
case 's': strict_mode = 1; break;
|
||||
case 'h': usage(argv[0], 0, NULL);
|
||||
default: /* '?' */ usage(argv[0], EXIT_FAILURE, "Unknown arguments");
|
||||
}
|
||||
}
|
||||
if (optind >= argc)
|
||||
{
|
||||
usage(argv[0], EXIT_FAILURE, "Expected argument after options");
|
||||
}
|
||||
fname = argv[optind];
|
||||
|
||||
int fd = open(argv[optind], O_RDONLY, 0);
|
||||
showmem();
|
||||
if (parseit(fd, showobj) != 0)
|
||||
exit(EXIT_FAILURE);
|
||||
showmem();
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
61
arraylist.c
61
arraylist.c
@@ -37,21 +37,16 @@
|
||||
#include "arraylist.h"
|
||||
|
||||
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;
|
||||
|
||||
arr = (struct array_list *)malloc(sizeof(struct array_list));
|
||||
arr = (struct array_list *)calloc(1, sizeof(struct array_list));
|
||||
if (!arr)
|
||||
return NULL;
|
||||
arr->size = initial_size;
|
||||
arr->size = ARRAY_LIST_DEFAULT_SIZE;
|
||||
arr->length = 0;
|
||||
arr->free_fn = free_fn;
|
||||
if (!(arr->array = (void **)malloc(arr->size * sizeof(void *))))
|
||||
if (!(arr->array = (void **)calloc(arr->size, sizeof(void *))))
|
||||
{
|
||||
free(arr);
|
||||
return NULL;
|
||||
@@ -97,31 +92,11 @@ static int array_list_expand_internal(struct array_list *arr, size_t max)
|
||||
if (!(t = realloc(arr->array, new_size * sizeof(void *))))
|
||||
return -1;
|
||||
arr->array = (void **)t;
|
||||
(void)memset(arr->array + arr->size, 0, (new_size - arr->size) * sizeof(void *));
|
||||
arr->size = new_size;
|
||||
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)
|
||||
int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||
{
|
||||
if (idx > SIZE_T_MAX - 1)
|
||||
@@ -131,17 +106,6 @@ int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||
if (idx < arr->length && arr->array[idx])
|
||||
arr->free_fn(arr->array[idx]);
|
||||
arr->array[idx] = data;
|
||||
if (idx > arr->length)
|
||||
{
|
||||
/* Zero out the arraylist slots in between the old length
|
||||
and the newly added entry so we know those entries are
|
||||
empty.
|
||||
e.g. when setting array[7] in an array that used to be
|
||||
only 5 elements longs, array[5] and array[6] need to be
|
||||
set to 0.
|
||||
*/
|
||||
memset(arr->array + arr->length, 0, (idx - arr->length) * sizeof(void *));
|
||||
}
|
||||
if (arr->length <= idx)
|
||||
arr->length = idx + 1;
|
||||
return 0;
|
||||
@@ -149,17 +113,7 @@ int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||
|
||||
int array_list_add(struct array_list *arr, void *data)
|
||||
{
|
||||
/* Repeat some of array_list_put_idx() so we can skip several
|
||||
checks that we know are unnecessary when appending at the end
|
||||
*/
|
||||
size_t idx = arr->length;
|
||||
if (idx > SIZE_T_MAX - 1)
|
||||
return -1;
|
||||
if (array_list_expand_internal(arr, idx + 1))
|
||||
return -1;
|
||||
arr->array[idx] = data;
|
||||
arr->length++;
|
||||
return 0;
|
||||
return array_list_put_idx(arr, arr->length, data);
|
||||
}
|
||||
|
||||
void array_list_sort(struct array_list *arr, int (*compar)(const void *, const void *))
|
||||
@@ -182,16 +136,11 @@ int array_list_del_idx(struct array_list *arr, size_t idx, size_t count)
|
||||
{
|
||||
size_t i, stop;
|
||||
|
||||
/* Avoid overflow in calculation with large indices. */
|
||||
if (idx > SIZE_T_MAX - count)
|
||||
return -1;
|
||||
stop = idx + count;
|
||||
if (idx >= arr->length || stop > arr->length)
|
||||
return -1;
|
||||
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])
|
||||
arr->free_fn(arr->array[i]);
|
||||
}
|
||||
|
||||
25
arraylist.h
25
arraylist.h
@@ -37,27 +37,8 @@ struct 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);
|
||||
|
||||
/**
|
||||
* 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_get_idx(struct array_list *al, size_t i);
|
||||
@@ -75,12 +56,6 @@ 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);
|
||||
|
||||
/**
|
||||
* 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
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
|
||||
Benchmark tests for json-c
|
||||
|
||||
General strategy:
|
||||
-------------------
|
||||
|
||||
* Identify "after" commit hash
|
||||
* Use provided directory
|
||||
* Use provided commit hash
|
||||
* Local changes in current working directory
|
||||
* ${cur_branch}
|
||||
* Identify "before" commit hash, in order of preference
|
||||
* Use provided directory
|
||||
* Use provided commit hash
|
||||
* Use origin/${cur_branch}, if different from ${after_commit}
|
||||
* Use previous release
|
||||
|
||||
* If not using existing dir, clone to src-${after_commit}
|
||||
* or, checkout appropriate commit in existing src-${after_commit}
|
||||
* Create build & install dirs for ${after_commit}
|
||||
* Build & install ${after_commit}
|
||||
* Compile benchmark programs against install-${after_commit}
|
||||
|
||||
* If not using existing dir, clone to src-${before_commit}
|
||||
* or, checkout appropriate commit in existing src-${before_commit}
|
||||
* Create build & install dirs for ${before_commit}
|
||||
* Build & install ${before_commit}
|
||||
* Compile benchmark programs against install-${before_commit}
|
||||
|
||||
* Run benchmark in each location
|
||||
* Compare results
|
||||
|
||||
heaptrack memory profiler
|
||||
---------------------------
|
||||
|
||||
https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux.html
|
||||
|
||||
|
||||
```
|
||||
yum install libdwarf-devel elfutils boost-devel libunwind-devel
|
||||
|
||||
git clone git://anongit.kde.org/heaptrack
|
||||
cd heaptrack
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=$HOME/heaptrack-install ..
|
||||
make install
|
||||
```
|
||||
|
||||
|
||||
Issues
|
||||
--------
|
||||
|
||||
* jc-bench.sh is incomplete.
|
||||
|
||||
* valgrind massif misreports "extra-heap" bytes?
|
||||
|
||||
"json_parse -n canada.json" shows 38640 KB maxrss.
|
||||
|
||||
Using valgrind --tool=massif, a large amount of memory is listed as
|
||||
wasted "extra-heap" bytes. (~5.6MB)
|
||||
|
||||
```
|
||||
valgrind --tool=massif --massif-out-file=massif.out ./json_parse -n ~/canada.json
|
||||
ms_print massif.out
|
||||
```
|
||||
|
||||
|
||||
Using heaptrack, and analyzing the histogram, only shows ~2.6MB
|
||||
```
|
||||
heaptrack ./json_parse -n canada.json
|
||||
heaptrack --analyze heaptrack*gz -H histgram.out
|
||||
awk ' { s=$1; count=$2; ru=(int((s+ 15) / 16)) * 16; wasted = ((ru-s)*count); print s, count, ru-s, wasted; total=total+wasted} END { print "Total: ", total }' histogram.out
|
||||
```
|
||||
|
||||
With the (unreleased) arraylist trimming changes, maxrss reported by
|
||||
getrusage() goes down, but massif claims *more* total usage, and a HUGE
|
||||
extra-heap amount (50% of total).
|
||||
|
||||
@@ -1,284 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Benchmarking harness for json-c
|
||||
#
|
||||
# Use this to compare the behavior of two different versions of the library,
|
||||
# such as json-c-0.14 release vs master, master vs local changes, etc...
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
trap 'echo "FAILED!"' EXIT
|
||||
|
||||
RUNDIR=$(dirname "$0")
|
||||
RUNDIR=$(cd "$RUNDIR" && pwd)
|
||||
|
||||
TOP=$(cd "$RUNDIR/.." && pwd)
|
||||
|
||||
usage()
|
||||
{
|
||||
exitval=$1
|
||||
errmsg=$2
|
||||
if [ $exitval -ne 0 ] ; then
|
||||
exec 1>&2
|
||||
fi
|
||||
if [ ! -z "$errmsg" ] ; then
|
||||
echo "ERROR: $errmsg" 1>&2
|
||||
fi
|
||||
cat <<EOF
|
||||
Usage: $0 [-h] [-v] [--build] [--run] [--compare] ...XAX...
|
||||
EOF
|
||||
|
||||
exit $extival
|
||||
}
|
||||
|
||||
before_arg=
|
||||
after_arg=
|
||||
do_all=1
|
||||
do_build=0
|
||||
do_run=0
|
||||
do_compare=0
|
||||
|
||||
while [ $# -gt 0 ] ; do
|
||||
case "$1" in
|
||||
--before)
|
||||
before_arg=$2
|
||||
shift
|
||||
;;
|
||||
--after)
|
||||
after_arg=$2
|
||||
shift
|
||||
;;
|
||||
--build)
|
||||
do_all=0
|
||||
do_build=1
|
||||
;;
|
||||
--run)
|
||||
do_all=0
|
||||
do_run=1
|
||||
;;
|
||||
--compare)
|
||||
do_all=0
|
||||
do_compare=1
|
||||
;;
|
||||
-h)
|
||||
usage 0 ""
|
||||
;;
|
||||
-v)
|
||||
set -x
|
||||
;;
|
||||
*)
|
||||
usage 1 "Unknown args: $*"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
WORK="${RUNDIR}/work"
|
||||
mkdir -p "${WORK}"
|
||||
|
||||
DATA="${RUNDIR}/data"
|
||||
mkdir -p "${DATA}"
|
||||
|
||||
for file in citm_catalog.json twitter.json canada.json ; do
|
||||
if [ ! -r "${DATA}/${file}" ] ; then
|
||||
echo "Fetching ${file} from github.com/mloskot/json_benchmark"
|
||||
URL="https://github.com/mloskot/json_benchmark/raw/master/data/${file}"
|
||||
curl -s -L -o "${DATA}/${file}" "$URL"
|
||||
fi
|
||||
done
|
||||
echo
|
||||
|
||||
# Identify "after" commit hash, in order of preference
|
||||
if [ ! -z "$after_arg" -a -d "$after_arg" ] ; then
|
||||
# Use provided directory
|
||||
after_src_dir="$after_arg"
|
||||
after_commit=
|
||||
echo "Using provided directory [$after_arg] as 'after'"
|
||||
else
|
||||
_commit=
|
||||
if [ ! -z "$after_arg" ] ; then
|
||||
# Use provided commit hash
|
||||
_commit=$(git rev-parse --verify "$after_arg")
|
||||
fi
|
||||
if [ ! -z "$_commit" ] ;then
|
||||
after_src_dir= # i.e. current tree
|
||||
after_commit="$_commit"
|
||||
echo "Using provided commit [$after_arg => $_commit] as 'after'"
|
||||
else
|
||||
# Local changes in current working directory
|
||||
# ${cur_branch}
|
||||
after_src_dir=$TOP
|
||||
after_commit=
|
||||
echo "Using local changes in $TOP as 'after'"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Identify "before" commit hash, in order of preference
|
||||
if [ ! -z "$before_arg" -a -d "$before_arg" ] ; then
|
||||
# Use provided directory
|
||||
before_src_dir="$before_arg"
|
||||
before_commit=
|
||||
echo "Using provided directory [$before_arg] as 'before'"
|
||||
else
|
||||
_commit=
|
||||
if [ ! -z "$before_arg" ] ; then
|
||||
# Use provided commit hash
|
||||
_commit=$(git rev-parse --verify "$before_arg")
|
||||
fi
|
||||
if [ ! -z "$_commit" ] ;then
|
||||
before_src_dir= # i.e. current tree
|
||||
before_commit="$_commit"
|
||||
echo "Using provided commit [$before_arg => $_commit] as 'before'"
|
||||
else
|
||||
# Use origin/${cur_branch}, if different from ${after_commit}
|
||||
_cur_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
_commit=
|
||||
if [ ! -z "${_cur_branch}" ] ; then
|
||||
_commit=$(git rev-parse --verify "origin/${_cur_branch}")
|
||||
echo "Using origin/${_cur_branch} [$_commit] as 'before'"
|
||||
fi
|
||||
if [ "$_commit" = "${after_commit}" ] ; then
|
||||
_commit=
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -z "$_commit" ] ; then
|
||||
before_src_dir= # i.e. current tree
|
||||
before_commit="$_commit"
|
||||
else
|
||||
# Use previous release
|
||||
before_src_dir= # i.e. current tree
|
||||
before_commit="$(git tag | sort | tail -1)"
|
||||
echo "Using previous release [$before_commit] as 'before'"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
compile_benchmark()
|
||||
{
|
||||
local bname=$1
|
||||
local src_dir="$2"
|
||||
local src_commit="$3"
|
||||
|
||||
local build_dir="${WORK}/$bname/build"
|
||||
local inst_dir="${WORK}/$bname/install"
|
||||
local bench_dir="${WORK}/$bname/bench"
|
||||
|
||||
echo
|
||||
echo "=========== $bname ==========="
|
||||
echo
|
||||
|
||||
mkdir -p "${build_dir}"
|
||||
mkdir -p "${inst_dir}"
|
||||
mkdir -p "${bench_dir}"
|
||||
|
||||
if [ ! -z "$src_commit" ] ; then
|
||||
# Resolve the short hash, tag or branch name to full hash
|
||||
src_commit=$(git rev-parse $src_commit)
|
||||
fi
|
||||
|
||||
# No src dir specified, clone and checkout $src_commit
|
||||
if [ -z "$src_dir" ] ; then
|
||||
src_dir="${WORK}/$bname/src"
|
||||
echo "=== Using sources in $src_dir"
|
||||
mkdir -p "$src_dir"
|
||||
at_commit=$(git --git-dir="$src_dir/.git" rev-parse HEAD 2> /dev/null || true)
|
||||
echo "at_commit: $at_commit"
|
||||
if [ -z "$at_commit" ] ; then
|
||||
# Assume it's an empty dir
|
||||
git clone -n "$TOP" "$src_dir"
|
||||
fi
|
||||
git -C "$src_dir" --git-dir="$src_dir/.git" checkout "$src_commit"
|
||||
fi
|
||||
# else, use the provided $src_dir
|
||||
|
||||
if [ -e "${src_dir}/CMakeLists.txt" ] ; then
|
||||
cd "${build_dir}"
|
||||
cmake -DCMAKE_INSTALL_PREFIX="${inst_dir}" "${src_dir}"
|
||||
else
|
||||
# Old versions of json-c used automake/autoconf
|
||||
cd "${src_dir}"
|
||||
sh autogen.sh # always run it, configure doesn't always work
|
||||
cd "${build_dir}"
|
||||
"${src_dir}/configure" --prefix="${inst_dir}"
|
||||
fi
|
||||
make all install
|
||||
|
||||
cd "${bench_dir}"
|
||||
cmake -DCMAKE_PREFIX_PATH="${inst_dir}" "${TOP}/apps"
|
||||
make all
|
||||
}
|
||||
|
||||
# XXX TODO: name "after" and "before" uniquely using the dir & commit
|
||||
|
||||
if [ $do_all -ne 0 -o $do_build -ne 0 ] ; then
|
||||
sleep 5 # Wait slightly, to allow the human to read the message
|
||||
# about what exactly we're doing to benchmark.
|
||||
compile_benchmark "after" "${after_src_dir}" "${after_commit}"
|
||||
compile_benchmark "before" "${before_src_dir}" "${before_commit}"
|
||||
fi
|
||||
|
||||
run_benchmark()
|
||||
{
|
||||
local bname=$1
|
||||
local inst_dir="${WORK}/$bname/install"
|
||||
local bench_dir="${WORK}/$bname/bench"
|
||||
|
||||
local INPUT=${DATA}/canada.json
|
||||
|
||||
cd "${bench_dir}"
|
||||
mkdir -p results
|
||||
(time ./json_parse -n "${INPUT}") > results/basic_timing.out 2>&1
|
||||
valgrind --tool=massif --massif-out-file=massif.out ./json_parse -n "${INPUT}"
|
||||
ms_print massif.out > results/ms_print.out
|
||||
heaptrack -o heaptrack_out ./json_parse -n "${INPUT}"
|
||||
heaptrack --analyze heaptrack_out.gz -H histogram.out > results/heaptrack.out
|
||||
awk ' { s=$1; count=$2; ru=(int((s+ 15) / 16)) * 16; wasted = ((ru-s)*count); print s, count, ru-s, wasted; total=total+wasted} END { print "Total: ", total }' histogram.out > results/histogram2.out
|
||||
|
||||
# XXX stamp some info about what was built & run into ./results/.
|
||||
|
||||
echo "DONE with $bname"
|
||||
}
|
||||
|
||||
if [ $do_all -ne 0 -o $do_run -ne 0 ] ; then
|
||||
run_benchmark "after"
|
||||
run_benchmark "before"
|
||||
fi
|
||||
|
||||
if [ $do_compare -ne 0 ] ; then
|
||||
# XXX this needs better analysis
|
||||
cd "${WORK}"
|
||||
diff -udr before/bench/results after/bench/results || true
|
||||
else
|
||||
echo "To compare results, run:"
|
||||
echo "$0 --compare"
|
||||
fi
|
||||
|
||||
trap '' EXIT
|
||||
|
||||
:<<=cut
|
||||
|
||||
Benchmarks to run:
|
||||
|
||||
* Parse JSON strings, of various sizes and characteristics
|
||||
* Flags: STRICT vs. non-STRICT, validate UTF8
|
||||
|
||||
* Serialization time
|
||||
* plain, spaces, pretty
|
||||
|
||||
* json_c_visit tests
|
||||
* JSON pointer tests
|
||||
|
||||
Things to record and compare:
|
||||
|
||||
* Running time
|
||||
* Peak memory usage
|
||||
* Useful bytes vs. overhead for memory allocations
|
||||
* Total number of allocations
|
||||
* Average allocation size
|
||||
* Log of all allocation sizes
|
||||
|
||||
=cut
|
||||
|
||||
@@ -52,9 +52,6 @@ while [ $# -gt 0 ] ; do
|
||||
FLAGS+=(-DCMAKE_INSTALL_PREFIX="$2")
|
||||
shift
|
||||
;;
|
||||
--prefix=*)
|
||||
FLAGS+=(-DCMAKE_INSTALL_PREFIX="${1##--prefix=}")
|
||||
;;
|
||||
--enable-threading)
|
||||
FLAGS+=(-DENABLE_THREADING=ON)
|
||||
;;
|
||||
@@ -65,7 +62,7 @@ while [ $# -gt 0 ] ; do
|
||||
FLAGS+=(-DBUILD_SHARED_LIBS=ON)
|
||||
;;
|
||||
--enable-static)
|
||||
FLAGS+=(-DBUILD_STATIC_LIBS=ON)
|
||||
FLAGS+=(-DBUILD_SHARED_LIBS=OFF)
|
||||
;;
|
||||
--disable-Bsymbolic)
|
||||
FLAGS+=(-DDISABLE_BSYMBOLIC=ON)
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Enable RDRAND Hardware RNG Hash Seed */
|
||||
#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 */
|
||||
#cmakedefine ENABLE_THREADING "@@"
|
||||
|
||||
@@ -56,9 +54,6 @@
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#cmakedefine HAVE_SYS_PARAM_H @HAVE_SYS_PARAM_H@
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H
|
||||
|
||||
@@ -140,9 +135,6 @@
|
||||
/* Define to 1 if you have the `vsyslog' function. */
|
||||
#cmakedefine HAVE_VSYSLOG @HAVE_VSYSLOG@
|
||||
|
||||
/* Define if you have the `getrusage' function. */
|
||||
#cmakedefine HAVE_GETRUSAGE
|
||||
|
||||
#cmakedefine HAVE_STRTOLL
|
||||
#if !defined(HAVE_STRTOLL)
|
||||
#define strtoll @json_c_strtoll@
|
||||
@@ -197,9 +189,6 @@
|
||||
/* The number of bytes in type size_t */
|
||||
#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
|
||||
|
||||
/* The number of bytes in type ssize_t */
|
||||
#cmakedefine SIZEOF_SSIZE_T @SIZEOF_SSIZE_T@
|
||||
|
||||
/* Specifier for __thread */
|
||||
#cmakedefine SPEC___THREAD @SPEC___THREAD@
|
||||
|
||||
|
||||
207
config.h.win32
Normal file
207
config.h.win32
Normal file
@@ -0,0 +1,207 @@
|
||||
/* 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"
|
||||
|
||||
/* 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"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.14"
|
||||
|
||||
/* 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 */
|
||||
@@ -1,16 +0,0 @@
|
||||
# generate doxygen documentation for json-c API
|
||||
|
||||
find_package(Doxygen)
|
||||
|
||||
if (DOXYGEN_FOUND)
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
||||
message(STATUS "Wrote ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")
|
||||
|
||||
add_custom_target(doc
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
||||
|
||||
else (DOXYGEN_FOUND)
|
||||
message("Warning: doxygen not found, the 'doc' target will not be included")
|
||||
endif(DOXYGEN_FOUND)
|
||||
2363
doc/Doxyfile.in
2363
doc/Doxyfile.in
File diff suppressed because it is too large
Load Diff
@@ -1,6 +0,0 @@
|
||||
#!/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; } ' "$@"
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -43,13 +43,13 @@
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">/home/erh/json-c-0.15/README.md File Reference</div> </div>
|
||||
<div class="title">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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -47,21 +47,23 @@
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here are the data structures with brief descriptions:</div><div class="directory">
|
||||
<table 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 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>
|
||||
<tr id="row_1_"><td class="entry"><img id="arr_1_" src="ftv2mnode.png" alt="o" width="16" height="22" onclick="toggleFolder('1_')"/><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="structjson__object.html" target="_self">json_object</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_1_0_" class="even"><td class="entry"><img src="ftv2vertline.png" alt="|" width="16" height="22" /><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="unionjson__object_1_1data.html" target="_self">data</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_2_"><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_3_" 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_4_"><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_5_" 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_6_"><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_7_" 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_8_"><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -80,8 +76,6 @@ Typedefs</h2></td></tr>
|
||||
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>
|
||||
@@ -98,8 +92,6 @@ Functions</h2></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>
|
||||
@@ -311,49 +303,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -387,33 +336,6 @@ Functions</h2></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>
|
||||
@@ -445,7 +367,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -46,25 +46,26 @@
|
||||
<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>
|
||||
<div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_D">D</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 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 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>
|
||||
<tr><td valign="top"><a class="el" href="structarray__list.html">array_list</a>   </td><td valign="top"><a class="el" href="structjson__object.html">json_object</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_D"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  D  </div></td></tr></table>
|
||||
</td><td valign="top"><a class="el" href="structjson__object__iter.html">json_object_iter</a>   </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>
|
||||
<tr><td></td><td></td><td></td></tr>
|
||||
<tr><td valign="top"><a class="el" href="unionjson__object_1_1data.html">json_object::data</a>   </td><td></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><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 class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_D">D</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
410
doc/html/debug_8h.html
Normal file
410
doc/html/debug_8h.html
Normal file
@@ -0,0 +1,410 @@
|
||||
<!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: debug.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.14</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="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">debug.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:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a375c4dc9f0fb338999de81aab826f9d6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a375c4dc9f0fb338999de81aab826f9d6">__STRING</a>(x)   #x</td></tr>
|
||||
<tr class="separator:a375c4dc9f0fb338999de81aab826f9d6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8ca29550d5b1b73948f4a7bce53f2385"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a8ca29550d5b1b73948f4a7bce53f2385">JASSERT</a>(cond)</td></tr>
|
||||
<tr class="separator:a8ca29550d5b1b73948f4a7bce53f2385"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a11ba39cecbe449af5b86fa2f78e9da9d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a11ba39cecbe449af5b86fa2f78e9da9d">MC_ERROR</a>(x,...)   <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">mc_error</a>(x, ##__VA_ARGS__)</td></tr>
|
||||
<tr class="separator:a11ba39cecbe449af5b86fa2f78e9da9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a50f21a239fa040a10ad4cfdb4278b02b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a50f21a239fa040a10ad4cfdb4278b02b">MC_SET_DEBUG</a>(x)</td></tr>
|
||||
<tr class="separator:a50f21a239fa040a10ad4cfdb4278b02b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acb272a4b4444b69cd995236f167f90ba"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#acb272a4b4444b69cd995236f167f90ba">MC_GET_DEBUG</a>()   (0)</td></tr>
|
||||
<tr class="separator:acb272a4b4444b69cd995236f167f90ba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acf1e895cb5eb7f334cbe51901e6bb918"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#acf1e895cb5eb7f334cbe51901e6bb918">MC_SET_SYSLOG</a>(x)</td></tr>
|
||||
<tr class="separator:acf1e895cb5eb7f334cbe51901e6bb918"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afda355b35d18bf2e6a2a22d5c8eef42c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#afda355b35d18bf2e6a2a22d5c8eef42c">MC_DEBUG</a>(x,...)</td></tr>
|
||||
<tr class="separator:afda355b35d18bf2e6a2a22d5c8eef42c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5ef640ce1e9e61c5f6632aefbbfa0041"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="debug_8h.html#a5ef640ce1e9e61c5f6632aefbbfa0041">MC_INFO</a>(x,...)</td></tr>
|
||||
<tr class="separator:a5ef640ce1e9e61c5f6632aefbbfa0041"><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:a95843c7dcfea8f2a6e6950c291ba0e3e"><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="debug_8h.html#a95843c7dcfea8f2a6e6950c291ba0e3e">mc_set_debug</a> (int debug)</td></tr>
|
||||
<tr class="separator:a95843c7dcfea8f2a6e6950c291ba0e3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0c522f19a5015c076de53379182c7ad6"><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="debug_8h.html#a0c522f19a5015c076de53379182c7ad6">mc_get_debug</a> (void)</td></tr>
|
||||
<tr class="separator:a0c522f19a5015c076de53379182c7ad6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6ba846fed9ec9ad42a306921a44af216"><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="debug_8h.html#a6ba846fed9ec9ad42a306921a44af216">mc_set_syslog</a> (int syslog)</td></tr>
|
||||
<tr class="separator:a6ba846fed9ec9ad42a306921a44af216"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae85a547b1f743597f5e2954e37c34e65"><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="debug_8h.html#ae85a547b1f743597f5e2954e37c34e65">mc_debug</a> (const char *msg,...)</td></tr>
|
||||
<tr class="separator:ae85a547b1f743597f5e2954e37c34e65"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad351453d774306c8d0da414194bb88f4"><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="debug_8h.html#ad351453d774306c8d0da414194bb88f4">mc_error</a> (const char *msg,...)</td></tr>
|
||||
<tr class="separator:ad351453d774306c8d0da414194bb88f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1027afd06f45d53b19c9eb440eb09274"><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="debug_8h.html#a1027afd06f45d53b19c9eb440eb09274">mc_info</a> (const char *msg,...)</td></tr>
|
||||
<tr class="separator:a1027afd06f45d53b19c9eb440eb09274"><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="a375c4dc9f0fb338999de81aab826f9d6"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define __STRING</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x</td><td>)</td>
|
||||
<td>   #x</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8ca29550d5b1b73948f4a7bce53f2385"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JASSERT</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">cond</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"> } <span class="keywordflow">while</span> (0)</div>
|
||||
</div><!-- fragment -->
|
||||
</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>
|
||||
<a class="anchor" id="afda355b35d18bf2e6a2a22d5c8eef42c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MC_DEBUG</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x, </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">
|
||||
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||
<div class="line"> mc_debug(x, ##__VA_ARGS__)</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11ba39cecbe449af5b86fa2f78e9da9d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MC_ERROR</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x, </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>   <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">mc_error</a>(x, ##__VA_ARGS__)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acb272a4b4444b69cd995236f167f90ba"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MC_GET_DEBUG</td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td>   (0)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5ef640ce1e9e61c5f6632aefbbfa0041"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MC_INFO</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x, </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">
|
||||
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||
<div class="line"> mc_info(x, ##__VA_ARGS__)</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a50f21a239fa040a10ad4cfdb4278b02b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MC_SET_DEBUG</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x</td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||
<div class="line"> mc_set_debug(x)</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acf1e895cb5eb7f334cbe51901e6bb918"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MC_SET_SYSLOG</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">x</td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (0) \</div>
|
||||
<div class="line"> mc_set_syslog(x)</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="ae85a547b1f743597f5e2954e37c34e65"></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 mc_debug </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">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad351453d774306c8d0da414194bb88f4"></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 mc_error </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">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c522f19a5015c076de53379182c7ad6"></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 mc_get_debug </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1027afd06f45d53b19c9eb440eb09274"></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 mc_info </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">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a95843c7dcfea8f2a6e6950c291ba0e3e"></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 mc_set_debug </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>debug</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6ba846fed9ec9ad42a306921a44af216"></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 mc_set_syslog </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>syslog</em></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 Apr 19 2020 03:40:44 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -41,27 +41,27 @@
|
||||
</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>
|
||||
<dt><a class="anchor" id="_deprecated000007"></a>Global <a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">_LH_INLINE</a> </dt>
|
||||
<dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd>
|
||||
<dt><a class="anchor" id="_deprecated000008"></a>Global <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a> (a)</dt>
|
||||
<dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd>
|
||||
<dt><a class="anchor" id="_deprecated000003"></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>
|
||||
<dt><a class="anchor" id="_deprecated000005"></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>
|
||||
<dt><a class="anchor" id="_deprecated000006"></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>
|
||||
<dt><a class="anchor" id="_deprecated000004"></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>
|
||||
<dt><a class="anchor" id="_deprecated000002"></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>
|
||||
<dt><a class="anchor" id="_deprecated000001"></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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -1,98 +0,0 @@
|
||||
<!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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -47,27 +47,35 @@
|
||||
</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 class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><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_1_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="debug_8h.html" target="_self">debug.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_2_" class="even"><td class="entry"><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_3_"><td class="entry"><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_4_" class="even"><td class="entry"><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_5_"><td class="entry"><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_6_" class="even"><td class="entry"><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_7_"><td class="entry"><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__private_8h.html" target="_self">json_object_private.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_8_" class="even"><td class="entry"><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_9_"><td class="entry"><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 <a class="el" href="structjson__object.html">json_object</a> objects</td></tr>
|
||||
<tr id="row_10_" class="even"><td class="entry"><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_11_"><td class="entry"><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_12_" class="even"><td class="entry"><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_13_"><td class="entry"><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_14_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="math__compat_8h.html" target="_self">math_compat.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_15_"><td class="entry"><img src="ftv2node.png" alt="o" 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>
|
||||
<tr id="row_16_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="random__seed_8h.html" target="_self">random_seed.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_17_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="snprintf__compat_8h.html" target="_self">snprintf_compat.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_18_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="strdup__compat_8h.html" target="_self">strdup_compat.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_19_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="strerror__override_8h.html" target="_self">strerror_override.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_20_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="strerror__override__private_8h.html" target="_self">strerror_override_private.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_21_"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2doc.png" alt="*" width="24" height="22" /><a class="el" href="vasprintf__compat_8h.html" target="_self">vasprintf_compat.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -48,6 +48,7 @@
|
||||
</div>
|
||||
<div id="navrow4" class="tabs3">
|
||||
<ul class="tablist">
|
||||
<li><a href="#index__"><span>_</span></a></li>
|
||||
<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>
|
||||
@@ -73,6 +74,28 @@
|
||||
<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>- _ -</h3><ul>
|
||||
<li>_delete
|
||||
: <a class="el" href="structjson__object.html#a63666be714a8ce8907d56142c1d9dfb7">json_object</a>
|
||||
</li>
|
||||
<li>_pb
|
||||
: <a class="el" href="structjson__object.html#afdcaa9e24bce7c86c33cb6f6ae65cb56">json_object</a>
|
||||
</li>
|
||||
<li>_ref_count
|
||||
: <a class="el" href="structjson__object.html#ac3a795ba10ac33897bfda80cf4b8254e">json_object</a>
|
||||
</li>
|
||||
<li>_to_json_string
|
||||
: <a class="el" href="structjson__object.html#a077a02daac4653f91584dd7f47c3d632">json_object</a>
|
||||
</li>
|
||||
<li>_user_delete
|
||||
: <a class="el" href="structjson__object.html#ad9e57edb1cbd63578490081b2a9636ad">json_object</a>
|
||||
</li>
|
||||
<li>_userdata
|
||||
: <a class="el" href="structjson__object.html#a592a5391c3717ff7e8930476027226fe">json_object</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||
<li>array
|
||||
: <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a>
|
||||
@@ -91,9 +114,39 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||
<li>c_array
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a4ad6bf2fd6d8718f55850509edfe2e45">json_object::data</a>
|
||||
</li>
|
||||
<li>c_boolean
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a98a3964e5fb0b3a0e9d8786b8facde5c">json_object::data</a>
|
||||
</li>
|
||||
<li>c_double
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a9cc4abdb21302913701ac0c8dc75e55a">json_object::data</a>
|
||||
</li>
|
||||
<li>c_int
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a8464f75e1afbf640def14dde10fe88c7">json_object::data</a>
|
||||
</li>
|
||||
<li>c_int64
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a7733181cdb631570913e3a2abfd6937c">json_object::data</a>
|
||||
</li>
|
||||
<li>c_object
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a68089c942f154d4df590d8ecb476a69b">json_object::data</a>
|
||||
</li>
|
||||
<li>c_string
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a13ffed7c115784eac4dbc95696bd25cf">json_object::data</a>
|
||||
</li>
|
||||
<li>c_uint64
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a578e0b55e16f2963e0ba5362929ae9f3">json_object::data</a>
|
||||
</li>
|
||||
<li>char_offset
|
||||
: <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a>
|
||||
</li>
|
||||
<li>cint
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a10f396f4e5a54d7add5d7afe43270292">json_object::data</a>
|
||||
</li>
|
||||
<li>cint_type
|
||||
: <a class="el" href="unionjson__object_1_1data.html#ab4ebc744a20ba74ea55b7fd97ce11bfa">json_object::data</a>
|
||||
</li>
|
||||
<li>count
|
||||
: <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a>
|
||||
</li>
|
||||
@@ -104,6 +157,9 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||
<li>data
|
||||
: <a class="el" href="unionjson__object_1_1data.html#aaa742eb1b88b4b25ec4c27431d1576d7">json_object::data</a>
|
||||
</li>
|
||||
<li>depth
|
||||
: <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a>
|
||||
</li>
|
||||
@@ -141,9 +197,6 @@
|
||||
<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>
|
||||
|
||||
|
||||
@@ -168,6 +221,9 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||
<li>len
|
||||
: <a class="el" href="unionjson__object_1_1data.html#ac2386853b8a4e7d0b28a27ed599ccef7">json_object::data</a>
|
||||
</li>
|
||||
<li>length
|
||||
: <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a>
|
||||
</li>
|
||||
@@ -189,6 +245,12 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
|
||||
<li>o
|
||||
: <a class="el" href="structjson__object.html#a33aff83ffea02b934235c4821cca8cf0">json_object</a>
|
||||
</li>
|
||||
<li>o_type
|
||||
: <a class="el" href="structjson__object.html#a28307a4a3fe6cefe27e28fec56b76b3e">json_object</a>
|
||||
</li>
|
||||
<li>obj
|
||||
: <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a>
|
||||
</li>
|
||||
@@ -208,6 +270,9 @@
|
||||
<li>prev
|
||||
: <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a>
|
||||
</li>
|
||||
<li>ptr
|
||||
: <a class="el" href="unionjson__object_1_1data.html#ad3f2798f4679c5a3cc7f67a42365b71f">json_object::data</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -235,6 +300,7 @@
|
||||
</li>
|
||||
<li>str
|
||||
: <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a>
|
||||
, <a class="el" href="unionjson__object_1_1data.html#a2a16be02b4be645069ed4ee34f2b8d3e">json_object::data</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -267,7 +333,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -48,6 +48,7 @@
|
||||
</div>
|
||||
<div id="navrow4" class="tabs3">
|
||||
<ul class="tablist">
|
||||
<li><a href="#index__"><span>_</span></a></li>
|
||||
<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>
|
||||
@@ -73,6 +74,28 @@
|
||||
<div class="contents">
|
||||
 
|
||||
|
||||
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||
<li>_delete
|
||||
: <a class="el" href="structjson__object.html#a63666be714a8ce8907d56142c1d9dfb7">json_object</a>
|
||||
</li>
|
||||
<li>_pb
|
||||
: <a class="el" href="structjson__object.html#afdcaa9e24bce7c86c33cb6f6ae65cb56">json_object</a>
|
||||
</li>
|
||||
<li>_ref_count
|
||||
: <a class="el" href="structjson__object.html#ac3a795ba10ac33897bfda80cf4b8254e">json_object</a>
|
||||
</li>
|
||||
<li>_to_json_string
|
||||
: <a class="el" href="structjson__object.html#a077a02daac4653f91584dd7f47c3d632">json_object</a>
|
||||
</li>
|
||||
<li>_user_delete
|
||||
: <a class="el" href="structjson__object.html#ad9e57edb1cbd63578490081b2a9636ad">json_object</a>
|
||||
</li>
|
||||
<li>_userdata
|
||||
: <a class="el" href="structjson__object.html#a592a5391c3717ff7e8930476027226fe">json_object</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||
<li>array
|
||||
: <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a>
|
||||
@@ -91,9 +114,39 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||
<li>c_array
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a4ad6bf2fd6d8718f55850509edfe2e45">json_object::data</a>
|
||||
</li>
|
||||
<li>c_boolean
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a98a3964e5fb0b3a0e9d8786b8facde5c">json_object::data</a>
|
||||
</li>
|
||||
<li>c_double
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a9cc4abdb21302913701ac0c8dc75e55a">json_object::data</a>
|
||||
</li>
|
||||
<li>c_int
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a8464f75e1afbf640def14dde10fe88c7">json_object::data</a>
|
||||
</li>
|
||||
<li>c_int64
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a7733181cdb631570913e3a2abfd6937c">json_object::data</a>
|
||||
</li>
|
||||
<li>c_object
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a68089c942f154d4df590d8ecb476a69b">json_object::data</a>
|
||||
</li>
|
||||
<li>c_string
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a13ffed7c115784eac4dbc95696bd25cf">json_object::data</a>
|
||||
</li>
|
||||
<li>c_uint64
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a578e0b55e16f2963e0ba5362929ae9f3">json_object::data</a>
|
||||
</li>
|
||||
<li>char_offset
|
||||
: <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a>
|
||||
</li>
|
||||
<li>cint
|
||||
: <a class="el" href="unionjson__object_1_1data.html#a10f396f4e5a54d7add5d7afe43270292">json_object::data</a>
|
||||
</li>
|
||||
<li>cint_type
|
||||
: <a class="el" href="unionjson__object_1_1data.html#ab4ebc744a20ba74ea55b7fd97ce11bfa">json_object::data</a>
|
||||
</li>
|
||||
<li>count
|
||||
: <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a>
|
||||
</li>
|
||||
@@ -104,6 +157,9 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||
<li>data
|
||||
: <a class="el" href="unionjson__object_1_1data.html#aaa742eb1b88b4b25ec4c27431d1576d7">json_object::data</a>
|
||||
</li>
|
||||
<li>depth
|
||||
: <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a>
|
||||
</li>
|
||||
@@ -141,9 +197,6 @@
|
||||
<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>
|
||||
|
||||
|
||||
@@ -168,6 +221,9 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||
<li>len
|
||||
: <a class="el" href="unionjson__object_1_1data.html#ac2386853b8a4e7d0b28a27ed599ccef7">json_object::data</a>
|
||||
</li>
|
||||
<li>length
|
||||
: <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a>
|
||||
</li>
|
||||
@@ -189,6 +245,12 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
|
||||
<li>o
|
||||
: <a class="el" href="structjson__object.html#a33aff83ffea02b934235c4821cca8cf0">json_object</a>
|
||||
</li>
|
||||
<li>o_type
|
||||
: <a class="el" href="structjson__object.html#a28307a4a3fe6cefe27e28fec56b76b3e">json_object</a>
|
||||
</li>
|
||||
<li>obj
|
||||
: <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a>
|
||||
</li>
|
||||
@@ -208,6 +270,9 @@
|
||||
<li>prev
|
||||
: <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a>
|
||||
</li>
|
||||
<li>ptr
|
||||
: <a class="el" href="unionjson__object_1_1data.html#ad3f2798f4679c5a3cc7f67a42365b71f">json_object::data</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -235,6 +300,7 @@
|
||||
</li>
|
||||
<li>str
|
||||
: <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a>
|
||||
, <a class="el" href="unionjson__object_1_1data.html#a2a16be02b4be645069ed4ee34f2b8d3e">json_object::data</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -267,7 +333,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,65 +53,50 @@
|
||||
</div>
|
||||
<div id="navrow4" class="tabs3">
|
||||
<ul class="tablist">
|
||||
<li class="current"><a href="globals.html#index_a"><span>a</span></a></li>
|
||||
<li class="current"><a href="globals.html#index__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</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>
|
||||
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||
<li>__STRING
|
||||
: <a class="el" href="debug_8h.html#a375c4dc9f0fb338999de81aab826f9d6">debug.h</a>
|
||||
</li>
|
||||
<li>array_list_add()
|
||||
: <a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">arraylist.h</a>
|
||||
<li>_json_c_set_last_err()
|
||||
: <a class="el" href="json__object__private_8h.html#a2b38dd2d14fbfa6585de5664b6d61c0c">json_object_private.h</a>
|
||||
</li>
|
||||
<li>array_list_bsearch()
|
||||
: <a class="el" href="arraylist_8h.html#ac5d066b971fee72ce80084c1694109e3">arraylist.h</a>
|
||||
<li>_json_c_strerror()
|
||||
: <a class="el" href="strerror__override_8h.html#a2affa276d0d7b0a446105e324560576f">strerror_override.h</a>
|
||||
</li>
|
||||
<li>ARRAY_LIST_DEFAULT_SIZE
|
||||
: <a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">arraylist.h</a>
|
||||
<li>_json_c_strerror_enable
|
||||
: <a class="el" href="strerror__override__private_8h.html#af98a3cb4b7adc1b28d93906406f4f2f6">strerror_override_private.h</a>
|
||||
</li>
|
||||
<li>array_list_del_idx()
|
||||
: <a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">arraylist.h</a>
|
||||
<li>_LH_INLINE
|
||||
: <a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">linkhash.h</a>
|
||||
</li>
|
||||
<li>array_list_free()
|
||||
: <a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">arraylist.h</a>
|
||||
<li>_LH_UNCONST
|
||||
: <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">linkhash.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>_printbuf_check_literal
|
||||
: <a class="el" href="printbuf_8h.html#ab009973c5e15aae191e610cd70752603">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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
119
doc/html/globals_0x61.html
Normal file
119
doc/html/globals_0x61.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.14</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__"><span>_</span></a></li>
|
||||
<li class="current"><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</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_put_idx()
|
||||
: <a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">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 Apr 19 2020 03:40:44 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>
|
||||
89
doc/html/globals_0x68.html
Normal file
89
doc/html/globals_0x68.html
Normal file
@@ -0,0 +1,89 @@
|
||||
<!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.14</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__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li class="current"><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</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_h"></a>- h -</h3><ul>
|
||||
<li>HAVE_DECL_INFINITY
|
||||
: <a class="el" href="math__compat_8h.html#a77914bc4c960d1bfda49328bd0646985">math_compat.h</a>
|
||||
</li>
|
||||
<li>HAVE_DECL_NAN
|
||||
: <a class="el" href="math__compat_8h.html#a9025492cba029d3e372532a1d012f119">math_compat.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
86
doc/html/globals_0x69.html
Normal file
86
doc/html/globals_0x69.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<!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.14</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__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li class="current"><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</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_i"></a>- i -</h3><ul>
|
||||
<li>INFINITY
|
||||
: <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">math_compat.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,11 +53,17 @@
|
||||
</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.html#index__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
@@ -65,11 +71,17 @@
|
||||
<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>JASSERT
|
||||
: <a class="el" href="debug_8h.html#a8ca29550d5b1b73948f4a7bce53f2385">debug.h</a>
|
||||
</li>
|
||||
<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>JSON_C_CONST_FUNCTION()
|
||||
: <a class="el" href="json__object_8h.html#a922b2d76c73da57174beec82d471743b">json_object.h</a>
|
||||
</li>
|
||||
<li>json_c_get_random_seed()
|
||||
: <a class="el" href="random__seed_8h.html#a4775cb23fbc2f32fe7880180259a140a">random_seed.h</a>
|
||||
</li>
|
||||
<li>JSON_C_MAJOR_VERSION
|
||||
: <a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">json_c_version.h</a>
|
||||
@@ -162,7 +174,8 @@
|
||||
: <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="debug_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">debug.h</a>
|
||||
, <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>
|
||||
@@ -172,12 +185,18 @@
|
||||
<li>json_global_set_string_hash()
|
||||
: <a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">linkhash.h</a>
|
||||
</li>
|
||||
<li>json_hex_chars
|
||||
: <a class="el" href="json__object__private_8h.html#a20dbe4913551cefa6b4b0a77fd4397c4">json_object_private.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_number_chars
|
||||
: <a class="el" href="json__object__private_8h.html#a27427f89f2fc995639e366635fbe58ac">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object
|
||||
: <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_types.h</a>
|
||||
</li>
|
||||
@@ -199,9 +218,6 @@
|
||||
<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>
|
||||
@@ -271,6 +287,15 @@
|
||||
<li>json_object_int_inc()
|
||||
: <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object.h</a>
|
||||
</li>
|
||||
<li>json_object_int_type
|
||||
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_int_type_int64
|
||||
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_int_type_uint64
|
||||
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_is_type()
|
||||
: <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object.h</a>
|
||||
</li>
|
||||
@@ -301,9 +326,6 @@
|
||||
<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>
|
||||
@@ -358,6 +380,9 @@
|
||||
<li>json_object_object_length()
|
||||
: <a class="el" href="json__object_8h.html#ad59a0ad2ec914a5eef90af53acae06d9">json_object.h</a>
|
||||
</li>
|
||||
<li>json_object_private_delete_fn
|
||||
: <a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_put()
|
||||
: <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object.h</a>
|
||||
</li>
|
||||
@@ -436,9 +461,6 @@
|
||||
<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>
|
||||
@@ -559,12 +581,6 @@
|
||||
<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>
|
||||
@@ -617,7 +633,7 @@
|
||||
: <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>
|
||||
: <a class="el" href="json__types_8h.html#aba5eff84f8638d22f50403175f270c96">json_types.h</a>
|
||||
</li>
|
||||
<li>json_type_array
|
||||
: <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_types.h</a>
|
||||
@@ -650,7 +666,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,11 +53,17 @@
|
||||
</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.html#index__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
@@ -65,6 +71,9 @@
|
||||
<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>LEN_DIRECT_STRING_DATA
|
||||
: <a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">json_object_private.h</a>
|
||||
</li>
|
||||
<li>LH_EMPTY
|
||||
: <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a>
|
||||
</li>
|
||||
@@ -144,7 +153,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
119
doc/html/globals_0x6d.html
Normal file
119
doc/html/globals_0x6d.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.14</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__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</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_m"></a>- m -</h3><ul>
|
||||
<li>MC_DEBUG
|
||||
: <a class="el" href="debug_8h.html#afda355b35d18bf2e6a2a22d5c8eef42c">debug.h</a>
|
||||
</li>
|
||||
<li>mc_debug()
|
||||
: <a class="el" href="debug_8h.html#ae85a547b1f743597f5e2954e37c34e65">debug.h</a>
|
||||
</li>
|
||||
<li>mc_error()
|
||||
: <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">debug.h</a>
|
||||
</li>
|
||||
<li>MC_ERROR
|
||||
: <a class="el" href="debug_8h.html#a11ba39cecbe449af5b86fa2f78e9da9d">debug.h</a>
|
||||
</li>
|
||||
<li>mc_get_debug()
|
||||
: <a class="el" href="debug_8h.html#a0c522f19a5015c076de53379182c7ad6">debug.h</a>
|
||||
</li>
|
||||
<li>MC_GET_DEBUG
|
||||
: <a class="el" href="debug_8h.html#acb272a4b4444b69cd995236f167f90ba">debug.h</a>
|
||||
</li>
|
||||
<li>mc_info()
|
||||
: <a class="el" href="debug_8h.html#a1027afd06f45d53b19c9eb440eb09274">debug.h</a>
|
||||
</li>
|
||||
<li>MC_INFO
|
||||
: <a class="el" href="debug_8h.html#a5ef640ce1e9e61c5f6632aefbbfa0041">debug.h</a>
|
||||
</li>
|
||||
<li>MC_SET_DEBUG
|
||||
: <a class="el" href="debug_8h.html#a50f21a239fa040a10ad4cfdb4278b02b">debug.h</a>
|
||||
</li>
|
||||
<li>mc_set_debug()
|
||||
: <a class="el" href="debug_8h.html#a95843c7dcfea8f2a6e6950c291ba0e3e">debug.h</a>
|
||||
</li>
|
||||
<li>MC_SET_SYSLOG
|
||||
: <a class="el" href="debug_8h.html#acf1e895cb5eb7f334cbe51901e6bb918">debug.h</a>
|
||||
</li>
|
||||
<li>mc_set_syslog()
|
||||
: <a class="el" href="debug_8h.html#a6ba846fed9ec9ad42a306921a44af216">debug.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
86
doc/html/globals_0x6e.html
Normal file
86
doc/html/globals_0x6e.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<!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.14</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__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li class="current"><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</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_n"></a>- n -</h3><ul>
|
||||
<li>NAN
|
||||
: <a class="el" href="math__compat_8h.html#a8abfcc76130f3f991d124dd22d7e69bc">math_compat.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,11 +53,17 @@
|
||||
</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.html#index__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
@@ -102,7 +108,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,11 +53,17 @@
|
||||
</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.html#index__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
@@ -71,11 +77,14 @@
|
||||
<li>sprintbuf()
|
||||
: <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">printbuf.h</a>
|
||||
</li>
|
||||
<li>strerror
|
||||
: <a class="el" href="strerror__override_8h.html#a9dae36435b1668856ec610d6d5238754">strerror_override.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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
86
doc/html/globals_0x74.html
Normal file
86
doc/html/globals_0x74.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<!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.14</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__"><span>_</span></a></li>
|
||||
<li><a href="globals_0x61.html#index_a"><span>a</span></a></li>
|
||||
<li><a href="globals_0x68.html#index_h"><span>h</span></a></li>
|
||||
<li><a href="globals_0x69.html#index_i"><span>i</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_0x6d.html#index_m"><span>m</span></a></li>
|
||||
<li><a href="globals_0x6e.html#index_n"><span>n</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>
|
||||
<li class="current"><a href="globals_0x74.html#index_t"><span>t</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_t"></a>- t -</h3><ul>
|
||||
<li>THIS_FUNCTION_IS_DEPRECATED
|
||||
: <a class="el" href="json__object_8h.html#a84fa70b86686ce202058f63905c90078">json_object.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,17 +53,39 @@
|
||||
</div>
|
||||
<div id="navrow4" class="tabs3">
|
||||
<ul class="tablist">
|
||||
<li><a href="#index__"><span>_</span></a></li>
|
||||
<li><a href="#index_a"><span>a</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_j"><span>j</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_p"><span>p</span></a></li>
|
||||
<li><a href="#index_s"><span>s</span></a></li>
|
||||
<li><a href="#index_t"><span>t</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 
|
||||
|
||||
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||
<li>__STRING
|
||||
: <a class="el" href="debug_8h.html#a375c4dc9f0fb338999de81aab826f9d6">debug.h</a>
|
||||
</li>
|
||||
<li>_LH_INLINE
|
||||
: <a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">linkhash.h</a>
|
||||
</li>
|
||||
<li>_LH_UNCONST
|
||||
: <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">linkhash.h</a>
|
||||
</li>
|
||||
<li>_printbuf_check_literal
|
||||
: <a class="el" href="printbuf_8h.html#ab009973c5e15aae191e610cd70752603">printbuf.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<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>
|
||||
@@ -71,7 +93,27 @@
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||
<li>HAVE_DECL_INFINITY
|
||||
: <a class="el" href="math__compat_8h.html#a77914bc4c960d1bfda49328bd0646985">math_compat.h</a>
|
||||
</li>
|
||||
<li>HAVE_DECL_NAN
|
||||
: <a class="el" href="math__compat_8h.html#a9025492cba029d3e372532a1d012f119">math_compat.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
|
||||
<li>INFINITY
|
||||
: <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">math_compat.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||
<li>JASSERT
|
||||
: <a class="el" href="debug_8h.html#a8ca29550d5b1b73948f4a7bce53f2385">debug.h</a>
|
||||
</li>
|
||||
<li>JSON_C_CONST_FUNCTION
|
||||
: <a class="el" href="json__object_8h.html#a878f59e029f19db79ff9eb41fdcf4c6d">json_object.h</a>
|
||||
</li>
|
||||
@@ -146,8 +188,9 @@
|
||||
</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>
|
||||
, <a class="el" href="debug_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">debug.h</a>
|
||||
, <a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_types.h</a>
|
||||
</li>
|
||||
<li>JSON_FILE_BUF_SIZE
|
||||
: <a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">json_util.h</a>
|
||||
@@ -167,9 +210,6 @@
|
||||
<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>
|
||||
@@ -183,6 +223,9 @@
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
|
||||
<li>LEN_DIRECT_STRING_DATA
|
||||
: <a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">json_object_private.h</a>
|
||||
</li>
|
||||
<li>LH_EMPTY
|
||||
: <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a>
|
||||
</li>
|
||||
@@ -210,6 +253,35 @@
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||
<li>MC_DEBUG
|
||||
: <a class="el" href="debug_8h.html#afda355b35d18bf2e6a2a22d5c8eef42c">debug.h</a>
|
||||
</li>
|
||||
<li>MC_ERROR
|
||||
: <a class="el" href="debug_8h.html#a11ba39cecbe449af5b86fa2f78e9da9d">debug.h</a>
|
||||
</li>
|
||||
<li>MC_GET_DEBUG
|
||||
: <a class="el" href="debug_8h.html#acb272a4b4444b69cd995236f167f90ba">debug.h</a>
|
||||
</li>
|
||||
<li>MC_INFO
|
||||
: <a class="el" href="debug_8h.html#a5ef640ce1e9e61c5f6632aefbbfa0041">debug.h</a>
|
||||
</li>
|
||||
<li>MC_SET_DEBUG
|
||||
: <a class="el" href="debug_8h.html#a50f21a239fa040a10ad4cfdb4278b02b">debug.h</a>
|
||||
</li>
|
||||
<li>MC_SET_SYSLOG
|
||||
: <a class="el" href="debug_8h.html#acf1e895cb5eb7f334cbe51901e6bb918">debug.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
|
||||
<li>NAN
|
||||
: <a class="el" href="math__compat_8h.html#a8abfcc76130f3f991d124dd22d7e69bc">math_compat.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>
|
||||
@@ -233,11 +305,21 @@
|
||||
<li>SCNd64
|
||||
: <a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">json_inttypes.h</a>
|
||||
</li>
|
||||
<li>strerror
|
||||
: <a class="el" href="strerror__override_8h.html#a9dae36435b1668856ec610d6d5238754">strerror_override.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||
<li>THIS_FUNCTION_IS_DEPRECATED
|
||||
: <a class="el" href="json__object_8h.html#a84fa70b86686ce202058f63905c90078">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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -54,6 +54,9 @@
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>json_object_int_type
|
||||
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_tokener_error
|
||||
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener.h</a>
|
||||
</li>
|
||||
@@ -67,7 +70,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -61,6 +61,12 @@
|
||||
 
|
||||
|
||||
<h3><a class="anchor" id="index_j"></a>- j -</h3><ul>
|
||||
<li>json_object_int_type_int64
|
||||
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_int_type_uint64
|
||||
: <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_tokener_continue
|
||||
: <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener.h</a>
|
||||
</li>
|
||||
@@ -139,12 +145,6 @@
|
||||
<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>
|
||||
@@ -215,7 +215,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,9 +53,11 @@
|
||||
</div>
|
||||
<div id="navrow4" class="tabs3">
|
||||
<ul class="tablist">
|
||||
<li><a href="#index__"><span>_</span></a></li>
|
||||
<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_m"><span>m</span></a></li>
|
||||
<li><a href="#index_p"><span>p</span></a></li>
|
||||
<li><a href="#index_s"><span>s</span></a></li>
|
||||
</ul>
|
||||
@@ -64,6 +66,16 @@
|
||||
<div class="contents">
|
||||
 
|
||||
|
||||
<h3><a class="anchor" id="index__"></a>- _ -</h3><ul>
|
||||
<li>_json_c_set_last_err()
|
||||
: <a class="el" href="json__object__private_8h.html#a2b38dd2d14fbfa6585de5664b6d61c0c">json_object_private.h</a>
|
||||
</li>
|
||||
<li>_json_c_strerror()
|
||||
: <a class="el" href="strerror__override_8h.html#a2affa276d0d7b0a446105e324560576f">strerror_override.h</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<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>
|
||||
@@ -86,15 +98,9 @@
|
||||
<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>
|
||||
@@ -105,6 +111,9 @@
|
||||
<li>JSON_C_CONST_FUNCTION()
|
||||
: <a class="el" href="json__object_8h.html#a922b2d76c73da57174beec82d471743b">json_object.h</a>
|
||||
</li>
|
||||
<li>json_c_get_random_seed()
|
||||
: <a class="el" href="random__seed_8h.html#a4775cb23fbc2f32fe7880180259a140a">random_seed.h</a>
|
||||
</li>
|
||||
<li>json_c_set_serialization_double_format()
|
||||
: <a class="el" href="json__object_8h.html#ac099272b46fde595831118720b155656">json_object.h</a>
|
||||
</li>
|
||||
@@ -138,9 +147,6 @@
|
||||
<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>
|
||||
@@ -228,9 +234,6 @@
|
||||
<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>
|
||||
@@ -433,6 +436,28 @@
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||
<li>mc_debug()
|
||||
: <a class="el" href="debug_8h.html#ae85a547b1f743597f5e2954e37c34e65">debug.h</a>
|
||||
</li>
|
||||
<li>mc_error()
|
||||
: <a class="el" href="debug_8h.html#ad351453d774306c8d0da414194bb88f4">debug.h</a>
|
||||
</li>
|
||||
<li>mc_get_debug()
|
||||
: <a class="el" href="debug_8h.html#a0c522f19a5015c076de53379182c7ad6">debug.h</a>
|
||||
</li>
|
||||
<li>mc_info()
|
||||
: <a class="el" href="debug_8h.html#a1027afd06f45d53b19c9eb440eb09274">debug.h</a>
|
||||
</li>
|
||||
<li>mc_set_debug()
|
||||
: <a class="el" href="debug_8h.html#a95843c7dcfea8f2a6e6950c291ba0e3e">debug.h</a>
|
||||
</li>
|
||||
<li>mc_set_syslog()
|
||||
: <a class="el" href="debug_8h.html#a6ba846fed9ec9ad42a306921a44af216">debug.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>
|
||||
@@ -460,7 +485,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -75,9 +75,15 @@
|
||||
<li>json_object_delete_fn
|
||||
: <a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_types.h</a>
|
||||
</li>
|
||||
<li>json_object_int_type
|
||||
: <a class="el" href="json__object__private_8h.html#aee51efb4329e981ca92b991a26d26e5d">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_iter
|
||||
: <a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_types.h</a>
|
||||
</li>
|
||||
<li>json_object_private_delete_fn
|
||||
: <a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_to_json_string_fn
|
||||
: <a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_types.h</a>
|
||||
</li>
|
||||
@@ -106,7 +112,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -54,9 +54,18 @@
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>_json_c_strerror_enable
|
||||
: <a class="el" href="strerror__override__private_8h.html#af98a3cb4b7adc1b28d93906406f4f2f6">strerror_override_private.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_hex_chars
|
||||
: <a class="el" href="json__object__private_8h.html#a20dbe4913551cefa6b4b0a77fd4397c4">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_number_chars
|
||||
: <a class="el" href="json__object__private_8h.html#a27427f89f2fc995639e366635fbe58ac">json_object_private.h</a>
|
||||
</li>
|
||||
<li>json_object_free_userdata
|
||||
: <a class="el" href="json__object_8h.html#aff3190c34884bea3b4e65e286b973d89">json_object.h</a>
|
||||
</li>
|
||||
@@ -67,7 +76,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,187 +40,10 @@
|
||||
<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 -->
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -43,13 +43,13 @@
|
||||
</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 class="title">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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -43,13 +43,13 @@
|
||||
</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 class="title">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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -58,7 +54,7 @@
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -61,13 +57,13 @@
|
||||
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="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>   14</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="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.14"</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>
|
||||
@@ -111,7 +107,7 @@ Functions</h2></td></tr>
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_MINOR_VERSION   15</td>
|
||||
<td class="memname">#define JSON_C_MINOR_VERSION   14</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -123,7 +119,7 @@ Functions</h2></td></tr>
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VERSION   "0.15"</td>
|
||||
<td class="memname">#define JSON_C_VERSION   "0.14"</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -195,7 +191,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -107,7 +103,7 @@ Macros</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -68,16 +64,16 @@ Functions</h2></td></tr>
|
||||
<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>
|
||||
<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="structjson__object.html">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>
|
||||
<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="structjson__object.html">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="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="structjson__object.html">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>
|
||||
@@ -104,7 +100,7 @@ Functions</h2></td></tr>
|
||||
<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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@@ -119,14 +115,14 @@ Functions</h2></td></tr>
|
||||
<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>
|
||||
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type <a class="el" href="structjson__object.html">json_object</a>)</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"><span class="keyword">struct </span><a class="code" href="structjson__object.html">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>
|
||||
@@ -150,7 +146,7 @@ Functions</h2></td></tr>
|
||||
<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="paramtype">const struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@@ -168,7 +164,7 @@ Functions</h2></td></tr>
|
||||
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>
|
||||
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type <a class="el" href="structjson__object.html">json_object</a>)</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -302,7 +298,7 @@ User and internal code MUST NOT make any assumptions about and dependencies on t
|
||||
<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 class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">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>
|
||||
@@ -323,14 +319,14 @@ User and internal code MUST NOT make any assumptions about and dependencies on t
|
||||
</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>
|
||||
<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 <a class="el" href="structjson__object.html">json_object</a> 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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
220
doc/html/json__object__private_8h.html
Normal file
220
doc/html/json__object__private_8h.html
Normal file
@@ -0,0 +1,220 @@
|
||||
<!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_private.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.14</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="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> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">json_object_private.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="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.html">json_object</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="unionjson__object_1_1data.html">json_object::data</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:a227adaf0073e17006f614190d414fa1a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">LEN_DIRECT_STRING_DATA</a>   32</td></tr>
|
||||
<tr class="separator:a227adaf0073e17006f614190d414fa1a"><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:aa125a0d39945a73a7d52b9823a2ef741"><td class="memItemLeft" align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private_delete_fn</a> )(struct <a class="el" href="structjson__object.html">json_object</a> *o)</td></tr>
|
||||
<tr class="separator:aa125a0d39945a73a7d52b9823a2ef741"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aee51efb4329e981ca92b991a26d26e5d"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#aee51efb4329e981ca92b991a26d26e5d">json_object_int_type</a></td></tr>
|
||||
<tr class="separator:aee51efb4329e981ca92b991a26d26e5d"><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:a2c399964853692c47023a88167f551ff"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a> { <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610">json_object_int_type_int64</a>,
|
||||
<a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992">json_object_int_type_uint64</a>
|
||||
}</td></tr>
|
||||
<tr class="separator:a2c399964853692c47023a88167f551ff"><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:a2b38dd2d14fbfa6585de5664b6d61c0c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a2b38dd2d14fbfa6585de5664b6d61c0c">_json_c_set_last_err</a> (const char *err_fmt,...)</td></tr>
|
||||
<tr class="separator:a2b38dd2d14fbfa6585de5664b6d61c0c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a27427f89f2fc995639e366635fbe58ac"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a27427f89f2fc995639e366635fbe58ac">json_number_chars</a></td></tr>
|
||||
<tr class="separator:a27427f89f2fc995639e366635fbe58ac"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a20dbe4913551cefa6b4b0a77fd4397c4"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__private_8h.html#a20dbe4913551cefa6b4b0a77fd4397c4">json_hex_chars</a></td></tr>
|
||||
<tr class="separator:a20dbe4913551cefa6b4b0a77fd4397c4"><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="a227adaf0073e17006f614190d414fa1a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LEN_DIRECT_STRING_DATA   32</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>< how many bytes are directly stored in <a class="el" href="structjson__object.html">json_object</a> for strings? </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a class="anchor" id="aee51efb4329e981ca92b991a26d26e5d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a> <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aa125a0d39945a73a7d52b9823a2ef741"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef void( json_object_private_delete_fn)(struct <a class="el" href="structjson__object.html">json_object</a> *o)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a class="anchor" id="a2c399964853692c47023a88167f551ff"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_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="a2c399964853692c47023a88167f551ffa9a8133eec6f4ce579d4b2b44b4d26610"></a>json_object_int_type_int64</em> </td><td>
|
||||
</td></tr>
|
||||
<tr><td valign="top"><em><a class="anchor" id="a2c399964853692c47023a88167f551ffa2f4bad5c522ad0830b9145a2755c1992"></a>json_object_int_type_uint64</em> </td><td>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="a2b38dd2d14fbfa6585de5664b6d61c0c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void _json_c_set_last_err </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>err_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">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a20dbe4913551cefa6b4b0a77fd4397c4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const char* json_hex_chars</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a27427f89f2fc995639e366635fbe58ac"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const char* json_number_chars</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -58,13 +54,13 @@
|
||||
<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="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="structjson__object.html">json_object</a> *obj, const char *path, struct <a class="el" href="structjson__object.html">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="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="structjson__object.html">json_object</a> *obj, struct <a class="el" href="structjson__object.html">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="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="structjson__object.html">json_object</a> **obj, const char *path, struct <a class="el" href="structjson__object.html">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="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="structjson__object.html">json_object</a> **obj, struct <a class="el" href="structjson__object.html">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>
|
||||
@@ -77,7 +73,7 @@ Functions</h2></td></tr>
|
||||
<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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -89,7 +85,7 @@ Functions</h2></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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> ** </td>
|
||||
<td class="paramname"><em>res</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -105,9 +101,9 @@ Functions</h2></td></tr>
|
||||
<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">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> 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>
|
||||
<tr><td class="paramname">res</td><td>a pointer that stores a reference to the <a class="el" href="structjson__object.html">json_object</a> associated with the given path</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -122,13 +118,13 @@ Functions</h2></td></tr>
|
||||
<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="paramtype">struct <a class="el" href="structjson__object.html">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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> ** </td>
|
||||
<td class="paramname"><em>res</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -155,8 +151,8 @@ Functions</h2></td></tr>
|
||||
<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">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> 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 <a class="el" href="structjson__object.html">json_object</a> 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>
|
||||
@@ -172,7 +168,7 @@ Functions</h2></td></tr>
|
||||
<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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> ** </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -184,7 +180,7 @@ Functions</h2></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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>value</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -201,7 +197,7 @@ Functions</h2></td></tr>
|
||||
<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">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> 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>
|
||||
@@ -218,13 +214,13 @@ Functions</h2></td></tr>
|
||||
<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="paramtype">struct <a class="el" href="structjson__object.html">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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>value</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -251,7 +247,7 @@ Functions</h2></td></tr>
|
||||
<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">obj</td><td>the <a class="el" href="structjson__object.html">json_object</a> 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>
|
||||
@@ -264,7 +260,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -57,7 +53,7 @@
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Methods to parse an input string into a tree of json_object objects.
|
||||
<p>Methods to parse an input string into a tree of <a class="el" href="structjson__object.html">json_object</a> objects.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
@@ -73,8 +69,6 @@ Macros</h2></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">
|
||||
@@ -122,26 +116,24 @@ Enumerations</h2></td></tr>
|
||||
  <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>,
|
||||
<br/>
|
||||
  <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#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>,
|
||||
<br/>
|
||||
  <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#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#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener_state_object_value_add</a>,
|
||||
<a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener_state_object_sep</a>,
|
||||
<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/>
|
||||
  <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>
|
||||
@@ -162,32 +154,18 @@ Functions</h2></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="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="structjson__object.html">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="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="structjson__object.html">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="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="structjson__object.html">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 class="textblock"><p>Methods to parse an input string into a tree of <a class="el" href="structjson__object.html">json_object</a> 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">
|
||||
@@ -210,7 +188,6 @@ Functions</h2></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>
|
||||
|
||||
@@ -241,7 +218,7 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>Unused in json-c code </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -303,7 +280,7 @@ Functions</h2></td></tr>
|
||||
</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 class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">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>
|
||||
@@ -327,10 +304,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -397,7 +370,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -461,7 +433,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -486,8 +457,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -499,7 +468,7 @@ Functions</h2></td></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 class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_tokener_parse </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>str</em></td><td>)</td>
|
||||
@@ -512,8 +481,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -525,7 +492,7 @@ Functions</h2></td></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 class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">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>
|
||||
@@ -554,25 +521,22 @@ Functions</h2></td></tr>
|
||||
</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>Parse a string and return a non-NULL <a class="el" href="structjson__object.html">json_object</a> 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>When a valid JSON value is parsed, a non-NULL <a class="el" href="structjson__object.html">json_object</a> 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>The tokener does <b>not</b> maintain an internal buffer so the caller is responsible for calling json_tokener_parse_ex with an appropriate str parameter starting with the extra characters.</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="fragment"><div class="line"><a class="code" href="structjson__object.html">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>
|
||||
@@ -605,7 +569,7 @@ Functions</h2></td></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 class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_tokener_parse_verbose </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>str</em>, </td>
|
||||
@@ -628,10 +592,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -648,7 +608,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -682,7 +641,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -75,12 +71,12 @@ Typedefs</h2></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="memitem:af27907ced0f5a43409ad96430fe0f914"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__object.html">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="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="structjson__object.html">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="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="structjson__object.html">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>
|
||||
@@ -133,7 +129,7 @@ Enumerations</h2></td></tr>
|
||||
<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>
|
||||
<td class="memname">typedef struct <a class="el" href="structjson__object.html">json_object</a> <a class="el" href="structjson__object.html">json_object</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -147,7 +143,7 @@ Enumerations</h2></td></tr>
|
||||
<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>
|
||||
<td class="memname">typedef void( json_object_delete_fn)(struct <a class="el" href="structjson__object.html">json_object</a> *jso, void *userdata)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -172,7 +168,7 @@ Enumerations</h2></td></tr>
|
||||
<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>
|
||||
<td class="memname">typedef int( json_object_to_json_string_fn)(struct <a class="el" href="structjson__object.html">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">
|
||||
@@ -226,7 +222,7 @@ Enumerations</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -68,17 +64,17 @@ Macros</h2></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="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="structjson__object.html">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="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="structjson__object.html">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="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="structjson__object.html">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="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="structjson__object.html">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="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="structjson__object.html">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="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="structjson__object.html">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>
|
||||
@@ -167,7 +163,7 @@ Functions</h2></td></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 class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_object_from_fd </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>fd</em></td><td>)</td>
|
||||
@@ -193,7 +189,7 @@ Functions</h2></td></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 class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">json_object</a>* json_object_from_fd_ex </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>fd</em>, </td>
|
||||
@@ -231,7 +227,7 @@ Functions</h2></td></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 class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object.html">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>
|
||||
@@ -244,7 +240,7 @@ Functions</h2></td></tr>
|
||||
</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>Read the full contents of the given file, then convert it to a <a class="el" href="structjson__object.html">json_object</a> 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>
|
||||
@@ -262,7 +258,7 @@ Functions</h2></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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -278,7 +274,7 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
<p>Convert the <a class="el" href="structjson__object.html">json_object</a> 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>
|
||||
@@ -304,7 +300,7 @@ Functions</h2></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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -332,7 +328,7 @@ Functions</h2></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="paramtype">struct <a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -348,7 +344,7 @@ Functions</h2></td></tr>
|
||||
</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>Open and truncate the given file, creating it if necessary, then convert the <a class="el" href="structjson__object.html">json_object</a> 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>
|
||||
@@ -376,7 +372,6 @@ Functions</h2></td></tr>
|
||||
</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>
|
||||
@@ -469,7 +464,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -75,12 +71,12 @@ Macros</h2></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="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="structjson__object.html">json_object</a> *jso, int flags, <a class="el" href="structjson__object.html">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="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="structjson__object.html">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>
|
||||
@@ -182,7 +178,7 @@ Functions</h2></td></tr>
|
||||
<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>
|
||||
<td class="memname">typedef int( json_c_visit_userfunc)(<a class="el" href="structjson__object.html">json_object</a> *jso, int flags, <a class="el" href="structjson__object.html">json_object</a> *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -197,7 +193,7 @@ Functions</h2></td></tr>
|
||||
<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="paramtype"><a class="el" href="structjson__object.html">json_object</a> * </td>
|
||||
<td class="paramname"><em>jso</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -235,7 +231,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -84,9 +80,13 @@ Macros</h2></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="memitem:a77c5cddef96e6f1ab036ccf911783456"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#a77c5cddef96e6f1ab036ccf911783456">_LH_INLINE</a>   inline</td></tr>
|
||||
<tr class="separator:a77c5cddef96e6f1ab036ccf911783456"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afb856ed4a9bcfd090dde5151fa3ad9ae"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>(a)   ((void *)(uintptr_t)(const void *)(a))</td></tr>
|
||||
<tr class="separator:afb856ed4a9bcfd090dde5151fa3ad9ae"><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)   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((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="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)   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((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>
|
||||
@@ -134,6 +134,36 @@ Functions</h2></td></tr>
|
||||
<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="a77c5cddef96e6f1ab036ccf911783456"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define _LH_INLINE   inline</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="afb856ed4a9bcfd090dde5151fa3ad9ae"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define _LH_UNCONST</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">a</td><td>)</td>
|
||||
<td>   ((void *)(uintptr_t)(const void *)(a))</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd>Don't use this outside of <a class="el" href="linkhash_8h.html" title="Internal methods for working with json_type_object objects. Although this is exposed by the json_obje...">linkhash.h</a>: </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac32e80138c5be6dd9b0483a9cbcc8799"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
@@ -182,7 +212,7 @@ Functions</h2></td></tr>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">entry</td><td>)</td>
|
||||
<td>   _LH_UNCONST((entry)->k)</td>
|
||||
<td>   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((entry)->k)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -200,7 +230,7 @@ Functions</h2></td></tr>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">entry</td><td>)</td>
|
||||
<td>   _LH_UNCONST((entry)->v)</td>
|
||||
<td>   <a class="el" href="linkhash_8h.html#afb856ed4a9bcfd090dde5151fa3ad9ae">_LH_UNCONST</a>((entry)->v)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -918,7 +948,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
125
doc/html/math__compat_8h.html
Normal file
125
doc/html/math__compat_8h.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: math_compat.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.14</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="summary">
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">math_compat.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:a956e2723d559858d08644ac99146e910"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a>   (DBL_MAX + DBL_MAX)</td></tr>
|
||||
<tr class="separator:a956e2723d559858d08644ac99146e910"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a77914bc4c960d1bfda49328bd0646985"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a77914bc4c960d1bfda49328bd0646985">HAVE_DECL_INFINITY</a></td></tr>
|
||||
<tr class="separator:a77914bc4c960d1bfda49328bd0646985"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8abfcc76130f3f991d124dd22d7e69bc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a8abfcc76130f3f991d124dd22d7e69bc">NAN</a>   (<a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a> - <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a>)</td></tr>
|
||||
<tr class="separator:a8abfcc76130f3f991d124dd22d7e69bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9025492cba029d3e372532a1d012f119"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__compat_8h.html#a9025492cba029d3e372532a1d012f119">HAVE_DECL_NAN</a></td></tr>
|
||||
<tr class="separator:a9025492cba029d3e372532a1d012f119"><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="a77914bc4c960d1bfda49328bd0646985"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HAVE_DECL_INFINITY</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9025492cba029d3e372532a1d012f119"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HAVE_DECL_NAN</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a956e2723d559858d08644ac99146e910"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define INFINITY   (DBL_MAX + DBL_MAX)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8abfcc76130f3f991d124dd22d7e69bc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define NAN   (<a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a> - <a class="el" href="math__compat_8h.html#a956e2723d559858d08644ac99146e910">INFINITY</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: `json-c`</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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -37,13 +37,152 @@
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">README </div> </div>
|
||||
<div class="title">`json-c` </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"></div></div><!-- contents -->
|
||||
<div class="textblock"><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>
|
||||
<p>```sh sudo apt install git sudo apt install cmake sudo apt install doxygen # optional sudo apt install valgrind # optional ```</p>
|
||||
<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>
|
||||
<p>```sh $ git clone <a href="https://github.com/json-c/json-c.git">https://github.com/json-c/json-c.git</a> $ mkdir json-c-build $ cd json-c-build $ cmake ../json-c # See CMake section below for custom arguments ```</p>
|
||||
<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>
|
||||
<p>```sh $ make $ make test $ make USE_VALGRIND=0 test # optionally skip using valgrind $ make install ```</p>
|
||||
<h3>Generating documentation with Doxygen:</h3>
|
||||
<p>The libray documentation can be generated directly from the source codes using Doxygen tool:</p>
|
||||
<p>```sh </p>
|
||||
<h1>in build directory</h1>
|
||||
<p>make doc google-chrome doc/html/index.html ```</p>
|
||||
<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 instead. </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>DISABLE_WERROR </td><td>Bool </td><td>Disable use of -Werror </td></tr>
|
||||
<tr>
|
||||
<td>DISABLE_BSYMBOLIC </td><td>Bool </td><td>Disable use of -Bsymbolic-functions </td></tr>
|
||||
</table>
|
||||
<p>Pass these options as <code>-D</code> on CMake's command-line.</p>
|
||||
<p>```sh cmake -DBUILD_SHARED_LIBS=OFF ... ```</p>
|
||||
<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>
|
||||
<p>```sh mkdir build cd build ../cmake-configure –prefix=/some/install/path make ```</p>
|
||||
<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: ```sh export USE_VALGRIND=0 ```</p>
|
||||
<p>To run tests a separate build directory is recommended: ```sh mkdir build-test cd build-test </p>
|
||||
<h1>VALGRIND=1 causes -DVALGRIND=1 to be passed when compiling code</h1>
|
||||
<h1>which uses slightly slower, but valgrind-safe code.</h1>
|
||||
<p>VALGRIND=1 cmake .. make</p>
|
||||
<p>make test </p>
|
||||
<h1>By default, if valgrind is available running tests uses it.</h1>
|
||||
<p>make USE_VALGRIND=0 test # optionally skip using valgrind ```</p>
|
||||
<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: ```sh VERBOSE=1 make test ``` or ```sh JSONC_TEST_TRACE=1 make test ``` 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>
|
||||
<p>```make CFLAGS += $(shell pkg-config –cflags json-c) LDFLAGS += $(shell pkg-config –libs json-c) ```</p>
|
||||
<p>Without <code>pkgconfig</code>, you would do something like this:</p>
|
||||
<p>```make JSON_C_DIR=/path/to/json_c/install CFLAGS += -I/include/json-c LDFLAGS+= -L/lib -ljson-c ```</p>
|
||||
<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 <a class="el" href="structjson__object.html">json_object</a> instances.</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-0.13.1/doc/html/files.html">files.html</a> </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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -43,14 +43,14 @@
|
||||
<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_1_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><a class="el" href="md_README.html" target="_self">`json-c`</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<title>json-c: 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,10 +40,6 @@
|
||||
<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">
|
||||
@@ -72,7 +68,9 @@ Macros</h2></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="memitem:ab009973c5e15aae191e610cd70752603"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="printbuf_8h.html#ab009973c5e15aae191e610cd70752603">_printbuf_check_literal</a>(mystr)   ("" mystr)</td></tr>
|
||||
<tr class="separator:ab009973c5e15aae191e610cd70752603"><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), <a class="el" href="printbuf_8h.html#ab009973c5e15aae191e610cd70752603">_printbuf_check_literal</a>(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>
|
||||
@@ -98,6 +96,23 @@ Functions</h2></td></tr>
|
||||
<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="ab009973c5e15aae191e610cd70752603"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define _printbuf_check_literal</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">mystr</td><td>)</td>
|
||||
<td>   ("" mystr)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Results in a compile error if the argument is not a string literal. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
@@ -190,7 +205,7 @@ Functions</h2></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>
|
||||
<td></td><td>   <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf_memappend</a>((pb), <a class="el" href="printbuf_8h.html#ab009973c5e15aae191e610cd70752603">_printbuf_check_literal</a>(str), sizeof(str) - 1)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -380,7 +395,7 @@ Functions</h2></td></tr>
|
||||
</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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
87
doc/html/random__seed_8h.html
Normal file
87
doc/html/random__seed_8h.html
Normal file
@@ -0,0 +1,87 @@
|
||||
<!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: random_seed.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.14</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="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">random_seed.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="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a4775cb23fbc2f32fe7880180259a140a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="random__seed_8h.html#a4775cb23fbc2f32fe7880180259a140a">json_c_get_random_seed</a> (void)</td></tr>
|
||||
<tr class="separator:a4775cb23fbc2f32fe7880180259a140a"><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">Function Documentation</h2>
|
||||
<a class="anchor" id="a4775cb23fbc2f32fe7880180259a140a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int json_c_get_random_seed </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></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 Apr 19 2020 03:40:44 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>
|
||||
62
doc/html/snprintf__compat_8h.html
Normal file
62
doc/html/snprintf__compat_8h.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<!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: snprintf_compat.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.14</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">snprintf_compat.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>
|
||||
<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></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
62
doc/html/strdup__compat_8h.html
Normal file
62
doc/html/strdup__compat_8h.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<!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: strdup_compat.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.14</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">strdup_compat.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>
|
||||
<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></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
106
doc/html/strerror__override_8h.html
Normal file
106
doc/html/strerror__override_8h.html
Normal file
@@ -0,0 +1,106 @@
|
||||
<!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: strerror_override.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.14</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="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">strerror_override.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:a9dae36435b1668856ec610d6d5238754"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="strerror__override_8h.html#a9dae36435b1668856ec610d6d5238754">strerror</a>   <a class="el" href="strerror__override_8h.html#a2affa276d0d7b0a446105e324560576f">_json_c_strerror</a></td></tr>
|
||||
<tr class="separator:a9dae36435b1668856ec610d6d5238754"><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:a2affa276d0d7b0a446105e324560576f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> char * </td><td class="memItemRight" valign="bottom"><a class="el" href="strerror__override_8h.html#a2affa276d0d7b0a446105e324560576f">_json_c_strerror</a> (int errno_in)</td></tr>
|
||||
<tr class="separator:a2affa276d0d7b0a446105e324560576f"><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="a9dae36435b1668856ec610d6d5238754"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define strerror   <a class="el" href="strerror__override_8h.html#a2affa276d0d7b0a446105e324560576f">_json_c_strerror</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="a2affa276d0d7b0a446105e324560576f"></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> char* _json_c_strerror </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>errno_in</em></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 Apr 19 2020 03:40:44 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/strerror__override__private_8h.html
Normal file
83
doc/html/strerror__override__private_8h.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: strerror_override_private.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.14</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="summary">
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">strerror_override_private.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="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:af98a3cb4b7adc1b28d93906406f4f2f6"><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="strerror__override__private_8h.html#af98a3cb4b7adc1b28d93906406f4f2f6">_json_c_strerror_enable</a></td></tr>
|
||||
<tr class="separator:af98a3cb4b7adc1b28d93906406f4f2f6"><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">Variable Documentation</h2>
|
||||
<a class="anchor" id="af98a3cb4b7adc1b28d93906406f4f2f6"></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_strerror_enable</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -110,12 +110,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
185
doc/html/structjson__object.html
Normal file
185
doc/html/structjson__object.html
Normal file
@@ -0,0 +1,185 @@
|
||||
<!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 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.14</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="#nested-classes">Data Structures</a> |
|
||||
<a href="#pub-attribs">Data Fields</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">json_object Struct Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<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">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="unionjson__object_1_1data.html">data</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="pub-attribs"></a>
|
||||
Data Fields</h2></td></tr>
|
||||
<tr class="memitem:a28307a4a3fe6cefe27e28fec56b76b3e"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html#a28307a4a3fe6cefe27e28fec56b76b3e">o_type</a></td></tr>
|
||||
<tr class="separator:a28307a4a3fe6cefe27e28fec56b76b3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac3a795ba10ac33897bfda80cf4b8254e"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html#ac3a795ba10ac33897bfda80cf4b8254e">_ref_count</a></td></tr>
|
||||
<tr class="separator:ac3a795ba10ac33897bfda80cf4b8254e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a63666be714a8ce8907d56142c1d9dfb7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private_delete_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html#a63666be714a8ce8907d56142c1d9dfb7">_delete</a></td></tr>
|
||||
<tr class="separator:a63666be714a8ce8907d56142c1d9dfb7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a077a02daac4653f91584dd7f47c3d632"><td class="memItemLeft" align="right" valign="top"><a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_object_to_json_string_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html#a077a02daac4653f91584dd7f47c3d632">_to_json_string</a></td></tr>
|
||||
<tr class="separator:a077a02daac4653f91584dd7f47c3d632"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afdcaa9e24bce7c86c33cb6f6ae65cb56"><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__object.html#afdcaa9e24bce7c86c33cb6f6ae65cb56">_pb</a></td></tr>
|
||||
<tr class="separator:afdcaa9e24bce7c86c33cb6f6ae65cb56"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a33aff83ffea02b934235c4821cca8cf0"><td class="memItemLeft" align="right" valign="top">union <a class="el" href="unionjson__object_1_1data.html">json_object::data</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html#a33aff83ffea02b934235c4821cca8cf0">o</a></td></tr>
|
||||
<tr class="separator:a33aff83ffea02b934235c4821cca8cf0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad9e57edb1cbd63578490081b2a9636ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_object_delete_fn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html#ad9e57edb1cbd63578490081b2a9636ad">_user_delete</a></td></tr>
|
||||
<tr class="separator:ad9e57edb1cbd63578490081b2a9636ad"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a592a5391c3717ff7e8930476027226fe"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object.html#a592a5391c3717ff7e8930476027226fe">_userdata</a></td></tr>
|
||||
<tr class="separator:a592a5391c3717ff7e8930476027226fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Field Documentation</h2>
|
||||
<a class="anchor" id="a63666be714a8ce8907d56142c1d9dfb7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="json__object__private_8h.html#aa125a0d39945a73a7d52b9823a2ef741">json_object_private_delete_fn</a>* json_object::_delete</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="afdcaa9e24bce7c86c33cb6f6ae65cb56"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct <a class="el" href="structprintbuf.html">printbuf</a>* json_object::_pb</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac3a795ba10ac33897bfda80cf4b8254e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint32_t json_object::_ref_count</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a077a02daac4653f91584dd7f47c3d632"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="json__types_8h.html#af84078100a9025df418f31626ea866fa">json_object_to_json_string_fn</a>* json_object::_to_json_string</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad9e57edb1cbd63578490081b2a9636ad"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="json__types_8h.html#aa647d7c567a06abe1a1a511f6d6860e4">json_object_delete_fn</a>* json_object::_user_delete</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a592a5391c3717ff7e8930476027226fe"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void* json_object::_userdata</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a33aff83ffea02b934235c4821cca8cf0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">union <a class="el" href="unionjson__object_1_1data.html">json_object::data</a> json_object::o</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a28307a4a3fe6cefe27e28fec56b76b3e"></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> json_object::o_type</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li><a class="el" href="json__object__private_8h.html">json_object_private.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,7 +53,7 @@
|
||||
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="memitem:aaae14a8d17aacddacb0a57234e0a4491"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structjson__object.html">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>
|
||||
@@ -90,7 +90,7 @@ Data Fields</h2></td></tr>
|
||||
<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>
|
||||
<td class="memname">struct <a class="el" href="structjson__object.html">json_object</a>* json_object_iter::val</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -98,12 +98,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -70,12 +70,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -69,8 +69,6 @@ Data Fields</h2></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>
|
||||
@@ -90,7 +88,7 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">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>
|
||||
@@ -115,7 +113,7 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<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#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> instead. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -129,18 +127,6 @@ Data Fields</h2></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>
|
||||
@@ -224,7 +210,7 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Do not access any of these fields outside of json_tokener.c </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -241,12 +227,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -53,22 +53,22 @@
|
||||
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="memitem:ad2bb71affec1da5ba1d9952c3bf2c12a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structjson__object.html">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="memitem:a466f192f920368a5a6375aeba1e2757f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structjson__object.html">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 class="textblock"><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>
|
||||
</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>
|
||||
<td class="memname">struct <a class="el" href="structjson__object.html">json_object</a>* json_tokener_srec::current</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -80,7 +80,7 @@ Data Fields</h2></td></tr>
|
||||
<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>
|
||||
<td class="memname">struct <a class="el" href="structjson__object.html">json_object</a>* json_tokener_srec::obj</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -112,12 +112,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -131,12 +131,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -173,12 +173,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">json-c
|
||||
 <span id="projectnumber">0.15</span>
|
||||
 <span id="projectnumber">0.14</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -96,12 +96,12 @@ Data Fields</h2></td></tr>
|
||||
</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>
|
||||
<li><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">
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
|
||||
271
doc/html/unionjson__object_1_1data.html
Normal file
271
doc/html/unionjson__object_1_1data.html
Normal file
@@ -0,0 +1,271 @@
|
||||
<!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::data Union 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.14</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 id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="structjson__object.html">json_object</a></li><li class="navelem"><a class="el" href="unionjson__object_1_1data.html">data</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::data Union 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:a98a3964e5fb0b3a0e9d8786b8facde5c"><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="unionjson__object_1_1data.html#a98a3964e5fb0b3a0e9d8786b8facde5c">c_boolean</a></td></tr>
|
||||
<tr class="separator:a98a3964e5fb0b3a0e9d8786b8facde5c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9cc4abdb21302913701ac0c8dc75e55a"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="unionjson__object_1_1data.html#a9cc4abdb21302913701ac0c8dc75e55a">c_double</a></td></tr>
|
||||
<tr class="separator:a9cc4abdb21302913701ac0c8dc75e55a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8464f75e1afbf640def14dde10fe88c7"><td class="memItemLeft" >struct {</td></tr>
|
||||
<tr class="memitem:a4ea04b16fdfa15518f89f4db1a30c2eb"><td class="memItemLeft" >   union {</td></tr>
|
||||
<tr class="memitem:afeecce8b59efcadb68603db21ffcbe9f"><td class="memItemLeft" >      int64_t   <a class="el" href="unionjson__object_1_1data.html#a7733181cdb631570913e3a2abfd6937c">c_int64</a></td></tr>
|
||||
<tr class="separator:afeecce8b59efcadb68603db21ffcbe9f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab7be8e8b216c607ae153325a67bb5730"><td class="memItemLeft" >      uint64_t   <a class="el" href="unionjson__object_1_1data.html#a578e0b55e16f2963e0ba5362929ae9f3">c_uint64</a></td></tr>
|
||||
<tr class="separator:ab7be8e8b216c607ae153325a67bb5730"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4ea04b16fdfa15518f89f4db1a30c2eb"><td class="memItemLeft" valign="top">   }   <a class="el" href="unionjson__object_1_1data.html#a10f396f4e5a54d7add5d7afe43270292">cint</a></td></tr>
|
||||
<tr class="separator:a4ea04b16fdfa15518f89f4db1a30c2eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab37f0649987a21f7800c573e5b7905b9"><td class="memItemLeft" >   enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a>   <a class="el" href="unionjson__object_1_1data.html#ab4ebc744a20ba74ea55b7fd97ce11bfa">cint_type</a></td></tr>
|
||||
<tr class="separator:ab37f0649987a21f7800c573e5b7905b9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8464f75e1afbf640def14dde10fe88c7"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="unionjson__object_1_1data.html#a8464f75e1afbf640def14dde10fe88c7">c_int</a></td></tr>
|
||||
<tr class="separator:a8464f75e1afbf640def14dde10fe88c7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a68089c942f154d4df590d8ecb476a69b"><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="unionjson__object_1_1data.html#a68089c942f154d4df590d8ecb476a69b">c_object</a></td></tr>
|
||||
<tr class="separator:a68089c942f154d4df590d8ecb476a69b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4ad6bf2fd6d8718f55850509edfe2e45"><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="unionjson__object_1_1data.html#a4ad6bf2fd6d8718f55850509edfe2e45">c_array</a></td></tr>
|
||||
<tr class="separator:a4ad6bf2fd6d8718f55850509edfe2e45"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a13ffed7c115784eac4dbc95696bd25cf"><td class="memItemLeft" >struct {</td></tr>
|
||||
<tr class="memitem:a7ea46f9e6c5331d67a10dc94e07da510"><td class="memItemLeft" >   union {</td></tr>
|
||||
<tr class="memitem:ad4bc0f685c71f90b34a97470dca8cc1b"><td class="memItemLeft" >      char *   <a class="el" href="unionjson__object_1_1data.html#ad3f2798f4679c5a3cc7f67a42365b71f">ptr</a></td></tr>
|
||||
<tr class="separator:ad4bc0f685c71f90b34a97470dca8cc1b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae87476c676dc61eac2f2f31078e36c6f"><td class="memItemLeft" >      char   <a class="el" href="unionjson__object_1_1data.html#aaa742eb1b88b4b25ec4c27431d1576d7">data</a> [<a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">LEN_DIRECT_STRING_DATA</a>]</td></tr>
|
||||
<tr class="separator:ae87476c676dc61eac2f2f31078e36c6f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7ea46f9e6c5331d67a10dc94e07da510"><td class="memItemLeft" valign="top">   }   <a class="el" href="unionjson__object_1_1data.html#a2a16be02b4be645069ed4ee34f2b8d3e">str</a></td></tr>
|
||||
<tr class="separator:a7ea46f9e6c5331d67a10dc94e07da510"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1a79dfb83fa2fc2a2871ccf77a0bd80f"><td class="memItemLeft" >   int   <a class="el" href="unionjson__object_1_1data.html#ac2386853b8a4e7d0b28a27ed599ccef7">len</a></td></tr>
|
||||
<tr class="separator:a1a79dfb83fa2fc2a2871ccf77a0bd80f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a13ffed7c115784eac4dbc95696bd25cf"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="unionjson__object_1_1data.html#a13ffed7c115784eac4dbc95696bd25cf">c_string</a></td></tr>
|
||||
<tr class="separator:a13ffed7c115784eac4dbc95696bd25cf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Field Documentation</h2>
|
||||
<a class="anchor" id="a4ad6bf2fd6d8718f55850509edfe2e45"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct <a class="el" href="structarray__list.html">array_list</a>* json_object::data::c_array</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a98a3964e5fb0b3a0e9d8786b8facde5c"></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> json_object::data::c_boolean</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9cc4abdb21302913701ac0c8dc75e55a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double json_object::data::c_double</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8464f75e1afbf640def14dde10fe88c7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct { ... } json_object::data::c_int</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7733181cdb631570913e3a2abfd6937c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int64_t json_object::data::c_int64</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a68089c942f154d4df590d8ecb476a69b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct <a class="el" href="structlh__table.html">lh_table</a>* json_object::data::c_object</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a13ffed7c115784eac4dbc95696bd25cf"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct { ... } json_object::data::c_string</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a578e0b55e16f2963e0ba5362929ae9f3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint64_t json_object::data::c_uint64</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a10f396f4e5a54d7add5d7afe43270292"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">union { ... } json_object::data::cint</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab4ebc744a20ba74ea55b7fd97ce11bfa"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="json__object__private_8h.html#a2c399964853692c47023a88167f551ff">json_object_int_type</a> json_object::data::cint_type</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aaa742eb1b88b4b25ec4c27431d1576d7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">char <a class="el" href="unionjson__object_1_1data.html">json_object::data::data</a>[<a class="el" href="json__object__private_8h.html#a227adaf0073e17006f614190d414fa1a">LEN_DIRECT_STRING_DATA</a>]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac2386853b8a4e7d0b28a27ed599ccef7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int json_object::data::len</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad3f2798f4679c5a3cc7f67a42365b71f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">char* json_object::data::ptr</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2a16be02b4be645069ed4ee34f2b8d3e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">union { ... } json_object::data::str</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this union was generated from the following file:<ul>
|
||||
<li><a class="el" href="json__object__private_8h.html">json_object_private.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
62
doc/html/vasprintf__compat_8h.html
Normal file
62
doc/html/vasprintf__compat_8h.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<!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: vasprintf_compat.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.14</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">vasprintf_compat.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>
|
||||
<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></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Apr 19 2020 03:40:44 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>
|
||||
@@ -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)
|
||||
|
||||
|
||||
* [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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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. \
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
* [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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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. \
|
||||
|
||||
165
json-c.sym
165
json-c.sym
@@ -1,165 +0,0 @@
|
||||
|
||||
/*
|
||||
* 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,2019,2020 Eric Hawicz
|
||||
* Copyright (c) 2012,2017 Eric Haszlakiewicz
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the MIT license. See COPYING for details.
|
||||
@@ -12,16 +12,12 @@
|
||||
#ifndef _json_c_version_h_
|
||||
#define _json_c_version_h_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define JSON_C_MAJOR_VERSION 0
|
||||
#define JSON_C_MINOR_VERSION 15
|
||||
#define JSON_C_MINOR_VERSION 14
|
||||
#define JSON_C_MICRO_VERSION 0
|
||||
#define JSON_C_VERSION_NUM \
|
||||
((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION)
|
||||
#define JSON_C_VERSION "0.15"
|
||||
#define JSON_C_VERSION "0.14"
|
||||
|
||||
#ifndef JSON_EXPORT
|
||||
#if defined(_MSC_VER)
|
||||
@@ -48,8 +44,4 @@ JSON_EXPORT const char *json_c_version(void); /* Returns JSON_C_VERSION */
|
||||
*/
|
||||
JSON_EXPORT int json_c_version_num(void); /* Returns JSON_C_VERSION_NUM */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
628
json_object.c
628
json_object.c
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,16 @@
|
||||
#ifndef _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__
|
||||
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
|
||||
#else
|
||||
@@ -123,43 +133,21 @@ extern "C" {
|
||||
/* reference counting functions */
|
||||
|
||||
/**
|
||||
* Increment the reference count of json_object, thereby taking ownership of it.
|
||||
*
|
||||
* 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.
|
||||
* Increment the reference count of json_object, thereby grabbing shared
|
||||
* ownership of obj.
|
||||
*
|
||||
* @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);
|
||||
|
||||
/**
|
||||
* 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
|
||||
* imbalance in the reference count, leading to a classic use-after-free bug.
|
||||
* 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.
|
||||
* imbalance in the reference count.
|
||||
* An obj of NULL may be passed; in that case this call is a no-op.
|
||||
*
|
||||
* @param obj the json_object instance
|
||||
* @returns 1 if the object was freed.
|
||||
* @see json_object_get()
|
||||
*/
|
||||
JSON_EXPORT int json_object_put(struct json_object *obj);
|
||||
|
||||
@@ -359,21 +347,15 @@ 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
|
||||
*
|
||||
* The reference count of `val` will *not* be incremented, in effect
|
||||
* transferring ownership that object to `obj`, and thus `val` will be
|
||||
* freed when `obj` is. (i.e. through `json_object_put(obj)`)
|
||||
* The reference count will *not* be incremented. This is to make adding
|
||||
* fields to objects in code more compact. If you want to retain a reference
|
||||
* to an added object, independent of the lifetime of obj, you must wrap the
|
||||
* passed object with json_object_get.
|
||||
*
|
||||
* If you want to retain a reference to the added object, independent
|
||||
* of the lifetime of obj, you must increment the refcount with
|
||||
* `json_object_get(val)` (and later release it with json_object_put()).
|
||||
*
|
||||
* 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.
|
||||
* Upon calling this, the ownership of val transfers to obj. Thus you must
|
||||
* make sure that you do in fact have ownership over this object. For instance,
|
||||
* json_object_new_object will give you ownership until you transfer it,
|
||||
* whereas json_object_object_get does not.
|
||||
*
|
||||
* @param obj the json_object instance
|
||||
* @param key the object field name (a private copy will be duplicated)
|
||||
@@ -396,7 +378,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 val a json_object or NULL member to associate with the given field
|
||||
* @param opts process-modifying options. To specify multiple options, use
|
||||
* (OPT1|OPT2)
|
||||
* arithmetic or (OPT1|OPT2)
|
||||
*/
|
||||
JSON_EXPORT int json_object_object_add_ex(struct json_object *obj, const char *const key,
|
||||
struct json_object *const val, const unsigned opts);
|
||||
@@ -518,23 +500,10 @@ JSON_EXPORT void json_object_object_del(struct json_object *obj, const char *key
|
||||
/* Array type methods */
|
||||
|
||||
/** 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
|
||||
*/
|
||||
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
|
||||
* @param obj the json_object instance
|
||||
* @returns an arraylist
|
||||
@@ -605,15 +574,7 @@ 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,
|
||||
struct json_object *val);
|
||||
|
||||
/** 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.
|
||||
*
|
||||
/** Get the element at specified index of the array (a json_object of type json_type_array)
|
||||
* @param obj the json_object instance
|
||||
* @param idx the index to get the element at
|
||||
* @returns the json_object at the specified index (or NULL)
|
||||
@@ -634,15 +595,6 @@ 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);
|
||||
|
||||
/**
|
||||
* 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 */
|
||||
|
||||
/** Create a new empty json_object of type json_type_boolean
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -20,18 +20,14 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**< how many bytes are directly stored in json_object for strings? */
|
||||
#define LEN_DIRECT_STRING_DATA 32
|
||||
|
||||
struct json_object;
|
||||
#include "json_inttypes.h"
|
||||
#include "json_types.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif /* HAVE_UNISTD_H */
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
typedef void(json_object_private_delete_fn)(struct json_object *o);
|
||||
|
||||
/* json object int type, support extension*/
|
||||
typedef enum json_object_int_type
|
||||
@@ -44,60 +40,44 @@ struct json_object
|
||||
{
|
||||
enum json_type o_type;
|
||||
uint32_t _ref_count;
|
||||
json_object_private_delete_fn *_delete;
|
||||
json_object_to_json_string_fn *_to_json_string;
|
||||
struct printbuf *_pb;
|
||||
union data
|
||||
{
|
||||
json_bool c_boolean;
|
||||
double c_double;
|
||||
struct
|
||||
{
|
||||
union
|
||||
{
|
||||
int64_t c_int64;
|
||||
uint64_t c_uint64;
|
||||
} cint;
|
||||
enum json_object_int_type cint_type;
|
||||
} c_int;
|
||||
struct lh_table *c_object;
|
||||
struct array_list *c_array;
|
||||
struct
|
||||
{
|
||||
union
|
||||
{
|
||||
/* optimize: if we have small strings, we can store them
|
||||
* directly. This saves considerable CPU cycles AND memory.
|
||||
*/
|
||||
char *ptr;
|
||||
char data[LEN_DIRECT_STRING_DATA];
|
||||
} str;
|
||||
int len;
|
||||
} c_string;
|
||||
} o;
|
||||
json_object_delete_fn *_user_delete;
|
||||
void *_userdata;
|
||||
// Actually longer, always malloc'd as some more-specific type.
|
||||
// The rest of a struct json_object_${o_type} follows
|
||||
};
|
||||
|
||||
struct json_object_object
|
||||
{
|
||||
struct json_object base;
|
||||
struct lh_table *c_object;
|
||||
};
|
||||
struct json_object_array
|
||||
{
|
||||
struct json_object base;
|
||||
struct array_list *c_array;
|
||||
};
|
||||
|
||||
struct json_object_boolean
|
||||
{
|
||||
struct json_object base;
|
||||
json_bool c_boolean;
|
||||
};
|
||||
struct json_object_double
|
||||
{
|
||||
struct json_object base;
|
||||
double c_double;
|
||||
};
|
||||
struct json_object_int
|
||||
{
|
||||
struct json_object base;
|
||||
enum json_object_int_type cint_type;
|
||||
union
|
||||
{
|
||||
int64_t c_int64;
|
||||
uint64_t c_uint64;
|
||||
} cint;
|
||||
};
|
||||
struct json_object_string
|
||||
{
|
||||
struct json_object base;
|
||||
ssize_t len; // Signed b/c negative lengths indicate data is a pointer
|
||||
// Consider adding an "alloc" field here, if json_object_set_string calls
|
||||
// to expand the length of a string are common operations to perform.
|
||||
union
|
||||
{
|
||||
char idata[1]; // Immediate data. Actually longer
|
||||
char *pdata; // Only when len < 0
|
||||
} c_string;
|
||||
};
|
||||
|
||||
void _json_c_set_last_err(const char *err_fmt, ...);
|
||||
|
||||
extern const char *json_number_chars;
|
||||
extern const char *json_hex_chars;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
448
json_tokener.c
448
json_tokener.c
@@ -25,6 +25,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "arraylist.h"
|
||||
#include "debug.h"
|
||||
#include "json_inttypes.h"
|
||||
#include "json_object.h"
|
||||
@@ -40,9 +41,6 @@
|
||||
#ifdef HAVE_XLOCALE_H
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif /* HAVE_STRINGS_H */
|
||||
|
||||
#define jt_hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x)&7) + 9)
|
||||
|
||||
@@ -97,8 +95,6 @@ static const char *json_tokener_errors[] = {
|
||||
*/
|
||||
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)
|
||||
{
|
||||
int jerr_int = (int)jerr;
|
||||
@@ -193,17 +189,7 @@ struct json_object *json_tokener_parse_verbose(const char *str, enum json_tokene
|
||||
return NULL;
|
||||
obj = json_tokener_parse_ex(tok, str, -1);
|
||||
*error = tok->err;
|
||||
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 (tok->err != json_tokener_success)
|
||||
{
|
||||
if (obj != NULL)
|
||||
json_object_put(obj);
|
||||
@@ -235,7 +221,7 @@ struct json_object *json_tokener_parse_verbose(const char *str, enum json_tokene
|
||||
/* PEEK_CHAR(dest, tok) macro:
|
||||
* Peeks at the current char and stores it in dest.
|
||||
* Returns 1 on success, sets tok->err and returns 0 if no more chars.
|
||||
* Implicit inputs: str, len, nBytesp vars
|
||||
* Implicit inputs: str, len vars
|
||||
*/
|
||||
#define PEEK_CHAR(dest, tok) \
|
||||
(((tok)->char_offset == len) \
|
||||
@@ -307,7 +293,7 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
}
|
||||
#endif
|
||||
|
||||
while (PEEK_CHAR(c, tok)) // Note: c might be '\0' !
|
||||
while (PEEK_CHAR(c, tok))
|
||||
{
|
||||
|
||||
redo_char:
|
||||
@@ -430,7 +416,7 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
{
|
||||
char inf_char = *str;
|
||||
if (!(tok->flags & JSON_TOKENER_STRICT))
|
||||
inf_char = tolower((unsigned char)*str);
|
||||
inf_char = tolower((int)*str);
|
||||
if (inf_char != _json_inf_str[tok->st_pos])
|
||||
{
|
||||
tok->err = json_tokener_error_parse_unexpected;
|
||||
@@ -640,165 +626,173 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
}
|
||||
break;
|
||||
|
||||
// ===================================================
|
||||
|
||||
case json_tokener_state_escape_unicode:
|
||||
{
|
||||
/* Handle a 4-byte \uNNNN sequence, or two sequences if a surrogate pair */
|
||||
unsigned int got_hi_surrogate = 0;
|
||||
|
||||
/* Handle a 4-byte sequence, or two sequences if a surrogate pair */
|
||||
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;
|
||||
goto out;
|
||||
}
|
||||
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))
|
||||
if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok))
|
||||
{
|
||||
/*
|
||||
* We're out of characters in the current call to
|
||||
* json_tokener_parse(), but a subsequent call might
|
||||
* provide us with more, so leave our current state
|
||||
* as-is (including tok->high_surrogate) and return.
|
||||
*/
|
||||
/* Clean up any pending chars */
|
||||
if (got_hi_surrogate)
|
||||
printbuf_memappend_fast(
|
||||
tok->pb, (char *)utf8_replacement_char, 3);
|
||||
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;
|
||||
|
||||
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:
|
||||
{
|
||||
int size1, size2;
|
||||
@@ -848,38 +842,9 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
const char *case_start = str;
|
||||
int case_len = 0;
|
||||
int is_exponent = 0;
|
||||
int neg_sign_ok = 1;
|
||||
int pos_sign_ok = 0;
|
||||
if (printbuf_length(tok->pb) > 0)
|
||||
int negativesign_next_possible_location = 1;
|
||||
while (c && strchr(json_number_chars, c))
|
||||
{
|
||||
/* 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;
|
||||
|
||||
/* non-digit characters checks */
|
||||
@@ -888,21 +853,40 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
* protected from input starting with '.' or
|
||||
* e/E.
|
||||
*/
|
||||
switch (c)
|
||||
if (c == '.')
|
||||
{
|
||||
case '.':
|
||||
if (tok->is_double != 0)
|
||||
{
|
||||
/* '.' 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;
|
||||
pos_sign_ok = 1;
|
||||
neg_sign_ok = 1;
|
||||
break;
|
||||
case 'e': /* FALLTHRU */
|
||||
case 'E':
|
||||
}
|
||||
if (c == 'e' || c == 'E')
|
||||
{
|
||||
if (is_exponent != 0)
|
||||
{
|
||||
/* only one exponent possible */
|
||||
tok->err = json_tokener_error_parse_number;
|
||||
goto out;
|
||||
}
|
||||
is_exponent = 1;
|
||||
tok->is_double = 1;
|
||||
/* the exponent part can begin with a negative sign */
|
||||
pos_sign_ok = neg_sign_ok = 1;
|
||||
break;
|
||||
default: break;
|
||||
negativesign_next_possible_location = case_len + 1;
|
||||
}
|
||||
if (c == '-' && case_len != negativesign_next_possible_location)
|
||||
{
|
||||
/* 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))
|
||||
@@ -911,20 +895,6 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
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)
|
||||
printbuf_memappend_fast(tok->pb, case_start, case_len);
|
||||
|
||||
@@ -935,22 +905,6 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
tok->st_pos = 0;
|
||||
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;
|
||||
@@ -987,8 +941,7 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
}
|
||||
}
|
||||
else if (tok->is_double &&
|
||||
json_tokener_parse_double(
|
||||
tok->pb->buf, printbuf_length(tok->pb), &numd) == 0)
|
||||
json_parse_double(tok->pb->buf, &numd) == 0)
|
||||
{
|
||||
current = json_object_new_double_s(numd, tok->pb->buf);
|
||||
if (current == NULL)
|
||||
@@ -1009,9 +962,6 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
case json_tokener_state_array:
|
||||
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 &&
|
||||
(tok->flags & JSON_TOKENER_STRICT))
|
||||
{
|
||||
@@ -1045,9 +995,6 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
case json_tokener_state_array_sep:
|
||||
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;
|
||||
state = json_tokener_state_eatws;
|
||||
}
|
||||
@@ -1173,9 +1120,8 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
}
|
||||
break;
|
||||
}
|
||||
(void)ADVANCE_CHAR(str, tok);
|
||||
if (!c) // This is the char *before* advancing
|
||||
break;
|
||||
if (!ADVANCE_CHAR(str, tok))
|
||||
goto out;
|
||||
} /* while(PEEK_CHAR) */
|
||||
|
||||
out:
|
||||
@@ -1184,8 +1130,7 @@ out:
|
||||
tok->err = json_tokener_error_parse_utf8_string;
|
||||
}
|
||||
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))
|
||||
{
|
||||
/* unexpected char after JSON data */
|
||||
tok->err = json_tokener_error_parse_unexpected;
|
||||
@@ -1257,12 +1202,3 @@ 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 */
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -59,8 +59,6 @@ enum json_tokener_state
|
||||
json_tokener_state_string,
|
||||
json_tokener_state_string_escape,
|
||||
json_tokener_state_escape_unicode,
|
||||
json_tokener_state_escape_unicode_need_escape,
|
||||
json_tokener_state_escape_unicode_need_u,
|
||||
json_tokener_state_boolean,
|
||||
json_tokener_state_number,
|
||||
json_tokener_state_array,
|
||||
@@ -113,7 +111,7 @@ struct json_tokener
|
||||
* @deprecated See json_tokener_get_error() instead.
|
||||
*/
|
||||
enum json_tokener_error err;
|
||||
unsigned int ucs_char, high_surrogate;
|
||||
unsigned int ucs_char;
|
||||
char quote_char;
|
||||
struct json_tokener_srec *stack;
|
||||
int flags;
|
||||
@@ -146,25 +144,12 @@ typedef struct json_tokener json_tokener;
|
||||
* restrictive from one release to the next, causing your
|
||||
* code to fail on previously working input.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* This flag is not set by default.
|
||||
*
|
||||
* @see json_tokener_set_flags()
|
||||
*/
|
||||
#define JSON_TOKENER_STRICT 0x01
|
||||
|
||||
/**
|
||||
* Use with JSON_TOKENER_STRICT to allow trailing characters after the
|
||||
* first parsed object.
|
||||
*
|
||||
* @see json_tokener_set_flags()
|
||||
*/
|
||||
#define JSON_TOKENER_ALLOW_TRAILING_CHARS 0x02
|
||||
|
||||
/**
|
||||
* Cause json_tokener_parse_ex() to validate that input is UTF8.
|
||||
* If this flag is specified and validation fails, then
|
||||
@@ -196,44 +181,11 @@ JSON_EXPORT const char *json_tokener_error_desc(enum json_tokener_error jerr);
|
||||
*/
|
||||
JSON_EXPORT enum json_tokener_error json_tokener_get_error(struct json_tokener *tok);
|
||||
|
||||
/**
|
||||
* Allocate a new json_tokener.
|
||||
* When done using that to parse objects, free it with json_tokener_free().
|
||||
* See json_tokener_parse_ex() for usage details.
|
||||
*/
|
||||
JSON_EXPORT struct json_tokener *json_tokener_new(void);
|
||||
|
||||
/**
|
||||
* Allocate a new json_tokener with a custom max nesting depth.
|
||||
* @see JSON_TOKENER_DEFAULT_DEPTH
|
||||
*/
|
||||
JSON_EXPORT struct json_tokener *json_tokener_new_ex(int depth);
|
||||
|
||||
/**
|
||||
* Free a json_tokener previously allocated with json_tokener_new().
|
||||
*/
|
||||
JSON_EXPORT void json_tokener_free(struct json_tokener *tok);
|
||||
|
||||
/**
|
||||
* Reset the state of a json_tokener, to prepare to parse a
|
||||
* brand new JSON object.
|
||||
*/
|
||||
JSON_EXPORT void json_tokener_reset(struct json_tokener *tok);
|
||||
|
||||
/**
|
||||
* Parse a json_object out of the string `str`.
|
||||
*
|
||||
* If you need more control over how the parsing occurs,
|
||||
* see json_tokener_parse_ex().
|
||||
*/
|
||||
JSON_EXPORT struct json_object *json_tokener_parse(const char *str);
|
||||
|
||||
/**
|
||||
* Parser a json_object out of the string `str`, but if it fails
|
||||
* return the error in `*error`.
|
||||
* @see json_tokener_parse()
|
||||
* @see json_tokener_parse_ex()
|
||||
*/
|
||||
JSON_EXPORT struct json_object *json_tokener_parse_verbose(const char *str,
|
||||
enum json_tokener_error *error);
|
||||
|
||||
@@ -255,8 +207,8 @@ JSON_EXPORT void json_tokener_set_flags(struct json_tokener *tok, int flags);
|
||||
*
|
||||
* If json_tokener_parse_ex() 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 json_tokener_reset()
|
||||
* is called.
|
||||
* halted. Then, the tok object must not be reused until json_tokener_reset() is
|
||||
* called.
|
||||
*
|
||||
* 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,
|
||||
@@ -269,18 +221,13 @@ JSON_EXPORT void json_tokener_set_flags(struct json_tokener *tok, int flags);
|
||||
* error or to handle the additional characters, perhaps by parsing another
|
||||
* json value starting from that point.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Extra characters can be detected by comparing the value returned by
|
||||
* json_tokener_get_parse_end() against
|
||||
* the length of the last len parameter passed in.
|
||||
*
|
||||
* The tokener does \b not 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.
|
||||
* responsible for calling json_tokener_parse_ex with an appropriate str
|
||||
* parameter starting with the extra characters.
|
||||
*
|
||||
* This interface is presently not 64-bit clean due to the int len argument
|
||||
* so the function limits the maximum string size to INT32_MAX (2GB).
|
||||
@@ -296,8 +243,6 @@ enum json_tokener_error jerr;
|
||||
do {
|
||||
mystring = ... // get JSON string, e.g. read from file, etc...
|
||||
stringlen = strlen(mystring);
|
||||
if (end_of_input)
|
||||
stringlen++; // Include the '\0' if we know we're at the end of input
|
||||
jobj = json_tokener_parse_ex(tok, mystring, stringlen);
|
||||
} while ((jerr = json_tokener_get_error(tok)) == json_tokener_continue);
|
||||
if (jerr != json_tokener_success)
|
||||
|
||||
@@ -222,7 +222,6 @@ int json_object_to_file(const char *filename, struct json_object *obj)
|
||||
return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN);
|
||||
}
|
||||
|
||||
// Deprecated json_parse_double function. See json_tokener_parse_double instead.
|
||||
int json_parse_double(const char *buf, double *retval)
|
||||
{
|
||||
char *end;
|
||||
@@ -246,17 +245,19 @@ int json_parse_uint64(const char *buf, uint64_t *retval)
|
||||
{
|
||||
char *end = NULL;
|
||||
uint64_t val;
|
||||
errno = 1;
|
||||
|
||||
errno = 0;
|
||||
while (*buf == ' ')
|
||||
{
|
||||
buf++;
|
||||
}
|
||||
if (*buf == '-')
|
||||
return 1; /* error: uint cannot be negative */
|
||||
errno = 0;
|
||||
|
||||
val = strtoull(buf, &end, 10);
|
||||
if (end != buf)
|
||||
*retval = val;
|
||||
return ((val == 0 && errno != 0) || (end == buf)) ? 1 : 0;
|
||||
return ((errno == 0) || (end == buf)) ? 1 : 0;
|
||||
}
|
||||
|
||||
#ifndef HAVE_REALLOC
|
||||
|
||||
@@ -100,12 +100,8 @@ JSON_EXPORT int json_object_to_fd(int fd, struct json_object *obj, int flags);
|
||||
*/
|
||||
JSON_EXPORT const char *json_util_get_last_err(void);
|
||||
|
||||
/* these parsing helpers return zero on success */
|
||||
JSON_EXPORT int json_parse_int64(const char *buf, int64_t *retval);
|
||||
JSON_EXPORT int json_parse_uint64(const char *buf, uint64_t *retval);
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
JSON_EXPORT int json_parse_double(const char *buf, double *retval);
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
*/
|
||||
#include "json_object.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef int(json_c_visit_userfunc)(json_object *jso, int flags, json_object *parent_jso,
|
||||
const char *jso_key, size_t *jso_index, void *userarg);
|
||||
|
||||
@@ -94,8 +90,4 @@ JSON_EXPORT int json_c_visit(json_object *jso, int future_flags, json_c_visit_us
|
||||
*/
|
||||
#define JSON_C_VISIT_RETURN_ERROR -1
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _json_c_json_visit_h_ */
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
@@ -500,8 +499,6 @@ struct lh_table *lh_table_new(int size, lh_entry_free_fn *free_fn, lh_hash_fn *h
|
||||
int i;
|
||||
struct lh_table *t;
|
||||
|
||||
/* Allocate space for elements to avoid divisions by zero. */
|
||||
assert(size > 0);
|
||||
t = (struct lh_table *)calloc(1, sizeof(struct lh_table));
|
||||
if (!t)
|
||||
return NULL;
|
||||
@@ -581,12 +578,8 @@ int lh_table_insert_w_hash(struct lh_table *t, const void *k, const void *v, con
|
||||
unsigned long n;
|
||||
|
||||
if (t->count >= t->size * LH_LOAD_FACTOR)
|
||||
{
|
||||
/* Avoid signed integer overflow with large tables. */
|
||||
int new_size = (t->size > INT_MAX / 2) ? INT_MAX : (t->size * 2);
|
||||
if (t->size == INT_MAX || lh_table_resize(t, new_size) != 0)
|
||||
if (lh_table_resize(t, t->size * 2) != 0)
|
||||
return -1;
|
||||
}
|
||||
|
||||
n = h % t->size;
|
||||
|
||||
|
||||
@@ -311,11 +311,11 @@ int lh_table_resize(struct lh_table *t, int new_size);
|
||||
/**
|
||||
* @deprecated Don't use this outside of linkhash.h:
|
||||
*/
|
||||
#if (defined(AIX_CC) || (defined(_MSC_VER) && (_MSC_VER <= 1800)) )
|
||||
#if !defined(_MSC_VER) || (_MSC_VER > 1800)
|
||||
/* VS2010 can't handle inline funcs, so skip it there */
|
||||
#define _LH_INLINE
|
||||
#else
|
||||
#define _LH_INLINE inline
|
||||
#else
|
||||
#define _LH_INLINE
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,9 +12,6 @@
|
||||
#ifdef HAVE_DECL__ISNAN
|
||||
#include <float.h>
|
||||
#define isnan(x) _isnan(x)
|
||||
#else
|
||||
/* On platforms like AIX and "IBM i" we need to provide our own isnan */
|
||||
#define isnan(x) ((x) != (x))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -22,10 +19,6 @@
|
||||
#ifdef HAVE_DECL__FINITE
|
||||
#include <float.h>
|
||||
#define isinf(x) (!_finite(x))
|
||||
#else
|
||||
#include <float.h>
|
||||
/* On platforms like AIX and "IBM i" we need to provide our own isinf */
|
||||
#define isinf(x) ((x) < -DBL_MAX || (x) > DBL_MAX)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
19
printbuf.c
19
printbuf.c
@@ -15,7 +15,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -66,16 +65,10 @@ static int printbuf_extend(struct printbuf *p, int min_size)
|
||||
|
||||
if (p->size >= min_size)
|
||||
return 0;
|
||||
/* Prevent signed integer overflows with large buffers. */
|
||||
if (min_size > INT_MAX - 8)
|
||||
return -1;
|
||||
if (p->size > INT_MAX / 2)
|
||||
|
||||
new_size = p->size * 2;
|
||||
if (new_size < min_size + 8)
|
||||
new_size = min_size + 8;
|
||||
else {
|
||||
new_size = p->size * 2;
|
||||
if (new_size < min_size + 8)
|
||||
new_size = min_size + 8;
|
||||
}
|
||||
#ifdef PRINTBUF_DEBUG
|
||||
MC_DEBUG("printbuf_memappend: realloc "
|
||||
"bpos=%d min_size=%d old_size=%d new_size=%d\n",
|
||||
@@ -90,9 +83,6 @@ static int printbuf_extend(struct printbuf *p, int min_size)
|
||||
|
||||
int printbuf_memappend(struct printbuf *p, const char *buf, int size)
|
||||
{
|
||||
/* Prevent signed integer overflows with large buffers. */
|
||||
if (size > INT_MAX - p->bpos - 1)
|
||||
return -1;
|
||||
if (p->size <= p->bpos + size + 1)
|
||||
{
|
||||
if (printbuf_extend(p, p->bpos + size + 1) < 0)
|
||||
@@ -110,9 +100,6 @@ int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len)
|
||||
|
||||
if (offset == -1)
|
||||
offset = pb->bpos;
|
||||
/* Prevent signed integer overflows with large buffers. */
|
||||
if (len > INT_MAX - offset)
|
||||
return -1;
|
||||
size_needed = offset + len;
|
||||
if (pb->size < size_needed)
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user