summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2018-06-07 17:41:19 +0100
committerJoão Távora <joaotavora@gmail.com>2018-06-15 00:11:56 +0100
commit9348039ed45c8e493e8bfef0220249d4d31ef6da (patch)
treee7f79a9013d4b80bfb6b980a216419662f982866 /lisp/emacs-lisp/bytecomp.el
parent8cb9beb32163fa3ce3b052ced646fd673814ddc6 (diff)
downloademacs-9348039ed45c8e493e8bfef0220249d4d31ef6da.tar.gz
emacs-9348039ed45c8e493e8bfef0220249d4d31ef6da.tar.bz2
emacs-9348039ed45c8e493e8bfef0220249d4d31ef6da.zip
Support custom null and false objects when parsing JSON
* doc/lispref/text.texi (Parsing JSON): Describe new :null-object and :false-object kwargs to json-parse-string and json-parse-buffer. * src/json.c (struct json_configuration): New type. (json_to_lisp): Accept a struct json_configuration* param. (json_parse_args): Rename from json_parse_object_type. (Fjson_parse_string): Rework docstring. (Fjson_parse_string, Fjson_parse_buffer): Update call to json_to_lisp. (syms_of_json): Two new syms, QCnull_object and QCfalse_object. * test/src/json-tests.el (json-parse-with-custom-null-and-false-objects): New test.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions