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
commit fa0b5ece9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
========