diff options
author | João Távora <joaotavora@gmail.com> | 2018-06-08 02:35:50 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2018-06-15 00:13:00 +0100 |
commit | 51adab5de24b3ee215fe636aedb7ff91d69a220c (patch) | |
tree | 8664618622113e4890c574d07fa2e025424b951b /lisp/emacs-lisp/elint.el | |
parent | 9348039ed45c8e493e8bfef0220249d4d31ef6da (diff) | |
download | emacs-51adab5de24b3ee215fe636aedb7ff91d69a220c.tar.gz emacs-51adab5de24b3ee215fe636aedb7ff91d69a220c.tar.bz2 emacs-51adab5de24b3ee215fe636aedb7ff91d69a220c.zip |
Also allow custom false and null when serializing to JSON
* doc/lispref/text.texi (Parsing JSON): Describe new arguments of
json-serialize and json-insert.
* src/json.c (enum json_object_type, struct json_configuration):
Move up in file before first usage.
(lisp_to_json_toplevel, lisp_to_json_toplevel_1, lisp_to_json):
Accept a struct json_configuration*.
(Fjson_serialize, Fjson_insert): Accept multiple args.
(json_parse_args): Accept new boolean configure_object_type.
* test/src/json-tests.el
(json-serialize, json-insert): Update forward decls.
(json-parse-with-custom-null-and-false-objects): Add assertions for
json-serialize.
Diffstat (limited to 'lisp/emacs-lisp/elint.el')
0 files changed, 0 insertions, 0 deletions