aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authori-ky <gl.ivanovsky@gmail.com>2020-08-09 00:19:39 +0300
committerGitHub <noreply@github.com>2020-08-09 00:19:39 +0300
commit601b568b8dd2ec32d4d46fb9192f6ee49db5a61c (patch)
tree980760483b115cf28a85f4a82ef79fa932a6edce /doc
parent1112580f4a5be38ceb770db67164d0941c20e6d8 (diff)
downloadjansson-601b568b8dd2ec32d4d46fb9192f6ee49db5a61c.zip
jansson-601b568b8dd2ec32d4d46fb9192f6ee49db5a61c.tar.gz
jansson-601b568b8dd2ec32d4d46fb9192f6ee49db5a61c.tar.bz2
Fix couple of typos
"This sections describes" -> "This section describes"
Diffstat (limited to 'doc')
-rw-r--r--doc/apiref.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/apiref.rst b/doc/apiref.rst
index 94c5726..bd622e3 100644
--- a/doc/apiref.rst
+++ b/doc/apiref.rst
@@ -1021,7 +1021,7 @@ in which case no error information is returned to the caller.
Encoding
========
-This sections describes the functions that can be used to encode
+This section describes the functions that can be used to encode
values to JSON. By default, only objects and arrays can be encoded
directly, since they are the only valid *root* values of a JSON text.
To encode any JSON value, use the ``JSON_ENCODE_ANY`` flag (see
@@ -1206,7 +1206,7 @@ These functions output UTF-8:
Decoding
========
-This sections describes the functions that can be used to decode JSON
+This section describes the functions that can be used to decode JSON
text to the Jansson representation of JSON data. The JSON
specification requires that a JSON text is either a serialized array
or object, and this requirement is also enforced with the following