chiark / gitweb /
Lisp: Change Lisp-to-JSON conventions.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 8 Jul 2015 10:07:27 +0000 (11:07 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 9 Jul 2015 08:39:00 +0000 (09:39 +0100)
commitaa2cd9398e385b5006853cd982c34e7dd6c7ec75
tree5f9d199e40a482517666d4d9605d5228b73bed8c
parent7be16879925948d5b4bec73d20b4a674b230d74c
Lisp: Change Lisp-to-JSON conventions.

Now a Lisp list is assumed to be an alist, and printed as a JSON
mapping; a JSON list is produced from a Lisp vector.  Also, `nil' is now
mapped to JSON `null'.

  * Implement these changes in `print-json-simple'.

  * Change the lists in `hosts.lisp' to be vectors.

  * Modify `host-defs.lisp' to handle vectors instead of lists.
bin/ansible-inventory
hosts/host-defs.lisp
hosts/hosts.lisp