summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-02-13 16:10:53 +0200
committerEli Zaretskii <eliz@gnu.org>2021-02-13 16:10:53 +0200
commitc535fe647c02ccde424340dc8ceae75922443ca5 (patch)
tree86c4e3f27b3ab19497b4009775316f40226ebbf3 /src/json.c
parent1680a1c0945cb0aa7e0e16867a9dacb8316cbf33 (diff)
downloademacs-c535fe647c02ccde424340dc8ceae75922443ca5.tar.gz
; * src/json.c (Fjson_parse_string): Fix the doc string.
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/json.c b/src/json.c
index 3562e175cfa..3f1d27ad7fb 100644
--- a/src/json.c
+++ b/src/json.c
@@ -928,14 +928,14 @@ json_to_lisp (json_t *json, const struct json_configuration *conf)
DEFUN ("json-parse-string", Fjson_parse_string, Sjson_parse_string, 1, MANY,
NULL,
- doc: /* Parse the JSON STRING into a Lisp object. This is
-essentially the reverse operation of `json-serialize', which see. The
-returned object will be the JSON null value, the JSON false value, t,
-a number, a string, a vector, a list, a hashtable, an alist, or a
-plist. Its elements will be further objects of these types. If there
-are duplicate keys in an object, all but the last one are ignored. If
-STRING doesn't contain a valid JSON object, this function signals an
-error of type `json-parse-error'.
+ doc: /* Parse the JSON STRING into a Lisp object.
+This is essentially the reverse operation of `json-serialize', which
+see. The returned object will be the JSON null value, the JSON false
+value, t, a number, a string, a vector, a list, a hashtable, an alist,
+or a plist. Its elements will be further objects of these types. If
+there are duplicate keys in an object, all but the last one are
+ignored. If STRING doesn't contain a valid JSON object, this function
+signals an error of type `json-parse-error'.
The arguments ARGS are a list of keyword/argument pairs: