diff options
| author | João Távora | 2018-06-08 02:35:50 +0100 |
|---|---|---|
| committer | João Távora | 2018-06-08 02:37:51 +0100 |
| commit | 3a8286696b4d7e843334da5d54edf2f8261451f8 (patch) | |
| tree | a1d386353ed599f27a8c8bf2290494cd478fe609 /src/bytecode.c | |
| parent | 00c534abb42d914b45d5e87d510c26b6174869c2 (diff) | |
| download | emacs-3a8286696b4d7e843334da5d54edf2f8261451f8.tar.gz emacs-3a8286696b4d7e843334da5d54edf2f8261451f8.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):
Take a json_configuration.
(Fjson_serialize, Fjson_insert): Take multiple args.
(json_parse_args): Take new boolean configure_object_type.
* test/src/json-tests.el
(json-parse-with-custom-null-and-false-objects): Add assertions fo
json-serialize.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions