1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
emacs/doc
Philipp Stephani db4f12e93f Allow JSON parser functions to return alists
* src/json.c (Fjson_parse_string, Fjson_parse_buffer): Give these
functions a keyword argument to specify the return type for JSON
objects.
(json_to_lisp): Convert objects to alists if requested.
(json_parse_object_type): New helper function to parse keyword
arguments.

* test/src/json-tests.el (json-parse-string/object): Add a unit test.

* doc/lispref/text.texi (Parsing JSON): Document new functionality.
2017-12-19 18:20:55 +01:00
..
emacs Merge from origin/emacs-26 2017-12-16 12:18:45 -08:00
lispintro ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
lispref Allow JSON parser functions to return alists 2017-12-19 18:20:55 +01:00
man Prefer HTTPS to HTTP for gnu.org 2017-09-29 17:48:22 -07:00
misc * doc/misc/auth.texi (Help for users): Mention JSON backend. 2017-12-19 11:45:48 -05:00