Merge pull request #380 from phst/doc-error-code

document that json_error_code will be added in version 2.11
This commit is contained in:
Petri Lehtinen
2018-02-09 09:39:38 +02:00
committed by GitHub

View File

@@ -966,10 +966,14 @@ in which case no error information is returned to the caller.
Array index is out of range.
.. versionadded:: 2.11
.. function:: enum json_error_code json_error_code(const json_error_t *error)
Returns the error code embedded in ``error->text``.
.. versionadded:: 2.11
Encoding
========