summaryrefslogtreecommitdiff
path: root/doc/misc/auth.texi
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2017-12-13 23:35:07 +0100
committerPhilipp Stephani <phst@google.com>2017-12-19 18:20:55 +0100
commitdb4f12e93f466832a5e5e1d512aff87ea90ef197 (patch)
tree585a95c4cfb8cf765e8df7dc0fe623ed786b6444 /doc/misc/auth.texi
parent16813e6faa32b1741685ee429132251846d253a3 (diff)
downloademacs-db4f12e93f466832a5e5e1d512aff87ea90ef197.tar.gz
emacs-db4f12e93f466832a5e5e1d512aff87ea90ef197.tar.bz2
emacs-db4f12e93f466832a5e5e1d512aff87ea90ef197.zip
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.
Diffstat (limited to 'doc/misc/auth.texi')
0 files changed, 0 insertions, 0 deletions