diff options
| author | Simen Heggestøyl | 2015-10-03 23:52:36 +0200 |
|---|---|---|
| committer | Simen Heggestøyl | 2015-10-03 23:52:36 +0200 |
| commit | 6b66375133a54ea37106b00786d3a85f7c6d658d (patch) | |
| tree | c1430aec49e3610c6db7d6aa082988fbfc159b78 /etc/tutorials | |
| parent | 9a05f0ac953ce19395c7409aed6bdd8db83cebb0 (diff) | |
| download | emacs-6b66375133a54ea37106b00786d3a85f7c6d658d.tar.gz emacs-6b66375133a54ea37106b00786d3a85f7c6d658d.zip | |
Maintain ordering of JSON object keys by default
* lisp/json.el (json-object-type): Mention order handling in doc-string.
(json--plist-reverse): New utility function.
(json-read-object): Maintain ordering for alists and plists.
(json-pretty-print): Ensure that ordering is maintained.
* test/automated/json-tests.el (test-json-plist-reverse): New test for
`json--plist-reverse'.
(json-read-simple-alist): Update test to accommodate for changes in
`json-read-object'.
* etc/NEWS: Document the new behavior of the pretty printing functions.
Diffstat (limited to 'etc/tutorials')
0 files changed, 0 insertions, 0 deletions