]> git.eshelyaron.com Git - emacs.git/commit
Instead of a json-serialize-use-plists global, use function args scratch/support-plists-in-jsonc
authorJoão Távora <joaotavora@gmail.com>
Wed, 30 May 2018 01:48:31 +0000 (02:48 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 30 May 2018 01:53:19 +0000 (02:53 +0100)
commit506d38434b54a3999163a78c91fb06a524a5cad2
treedfd7846f020cc41c5863b2af567856107b90cc9d
parent224f8ea95f00cc60ee77aeaad6585bb2ef845f70
Instead of a json-serialize-use-plists global, use function args

* src/json.c (syms_of_json): Don't defive
json-serialize-use-plists
(Fjson_insert, lisp_to_json, list_to_json_toplevel_1)
(list_to_json_toplevel, Fjson_serialize): Use and pass around
use_plists arg.

* doc/lispref/text.texi:
(Parsing JSON): json-serialize and json-insert now have a
USE-PLISTS arg.

* test/src/json-tests.el (json-serialize/object): Use
json-serialize's USE-PLISTS arg.
doc/lispref/text.texi
src/json.c
test/src/json-tests.el