diff options
author | Petri Lehtinen <petri@digip.org> | 2021-09-09 20:45:05 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2021-09-09 21:18:40 +0300 |
commit | 684e18c927e89615c2d501737e90018f4930d6c5 (patch) | |
tree | d130ad341e091466e85d0c48b2685e0e9f1e6209 /doc/apiref.rst | |
parent | e950e57e139250e4a2f2453025b6f97297b3b1bc (diff) | |
download | jansson-684e18c927e89615c2d501737e90018f4930d6c5.zip jansson-684e18c927e89615c2d501737e90018f4930d6c5.tar.gz jansson-684e18c927e89615c2d501737e90018f4930d6c5.tar.bz2 |
jansson 2.14v2.14
Diffstat (limited to 'doc/apiref.rst')
-rw-r--r-- | doc/apiref.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/apiref.rst b/doc/apiref.rst index db58a8f..4bfb687 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -114,7 +114,7 @@ also cause errors. Type ---- -.. type:: enum json_type +.. c:enum:: json_type The type of a JSON value. The following members are defined: @@ -599,7 +599,7 @@ A JSON array is an ordered collection of other JSON values. Iterate over every element of ``array``, running the block of code that follows each time with the proper values set to variables ``index`` and ``value``, of types :type:`size_t` and - :type:`json_t *` respectively. Example:: + :type:`json_t` pointer respectively. Example:: /* array is a JSON array */ size_t index; @@ -781,7 +781,7 @@ allowed in object keys. Iterate over every key-value pair of ``object``, running the block of code that follows each time with the proper values set to variables ``key`` and ``value``, of types ``const char *`` and - :type:`json_t *` respectively. Example:: + :type:`json_t` pointer respectively. Example:: /* obj is a JSON object */ const char *key; @@ -1003,7 +1003,7 @@ success. See :ref:`apiref-decoding` for more info. All functions also accept *NULL* as the :type:`json_error_t` pointer, in which case no error information is returned to the caller. -.. type:: enum json_error_code +.. c:enum:: json_error_code An enumeration containing numeric error codes. The following errors are currently defined: |