diff options
Diffstat (limited to 'src/json.c')
| -rw-r--r-- | src/json.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/json.c b/src/json.c index d30c997da4c..ea941d7bb5d 100644 --- a/src/json.c +++ b/src/json.c | |||
| @@ -574,7 +574,7 @@ represent a JSON false value. It defaults to `:false'. | |||
| 574 | In you specify the same value for `:null-object' and `:false-object', | 574 | In you specify the same value for `:null-object' and `:false-object', |
| 575 | a potentially ambiguous situation, the JSON output will not contain | 575 | a potentially ambiguous situation, the JSON output will not contain |
| 576 | any JSON false values. | 576 | any JSON false values. |
| 577 | usage: (json-serialize STRING &rest ARGS) */) | 577 | usage: (json-serialize OBJECT &rest ARGS) */) |
| 578 | (ptrdiff_t nargs, Lisp_Object *args) | 578 | (ptrdiff_t nargs, Lisp_Object *args) |
| 579 | { | 579 | { |
| 580 | ptrdiff_t count = SPECPDL_INDEX (); | 580 | ptrdiff_t count = SPECPDL_INDEX (); |
| @@ -658,7 +658,8 @@ DEFUN ("json-insert", Fjson_insert, Sjson_insert, 1, MANY, | |||
| 658 | doc: /* Insert the JSON representation of OBJECT before point. | 658 | doc: /* Insert the JSON representation of OBJECT before point. |
| 659 | This is the same as (insert (json-serialize OBJECT)), but potentially | 659 | This is the same as (insert (json-serialize OBJECT)), but potentially |
| 660 | faster. See the function `json-serialize' for allowed values of | 660 | faster. See the function `json-serialize' for allowed values of |
| 661 | OBJECT. */) | 661 | OBJECT. |
| 662 | usage: (json-insert OBJECT &rest ARGS) */) | ||
| 662 | (ptrdiff_t nargs, Lisp_Object *args) | 663 | (ptrdiff_t nargs, Lisp_Object *args) |
| 663 | { | 664 | { |
| 664 | ptrdiff_t count = SPECPDL_INDEX (); | 665 | ptrdiff_t count = SPECPDL_INDEX (); |