gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

json.el - JavaScript Object Notation parser / generator for Emacs Lisp


From: Edward O'Connor
Subject: json.el - JavaScript Object Notation parser / generator for Emacs Lisp
Date: Tue, 21 Mar 2006 16:34:16 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (darwin)

This is a library for parsing and generating JSON (JavaScript Object
Notation). You can learn all about JSON here: <URL:http://json.org/>.

The user-serviceable entry points for the parser are the functions
`json-read' and `json-read-from-string'. The encoder has a single entry
point, `json-encode'.

Since there are several natural representations of key-value pair
mappings in elisp (alist, plist, hash-table), json.el allows you to
specify which you'd prefer (see `json-object-type' and
`json-array-type').

Similarly, since `false' and `null' are distinct in JSON, you can
distinguish them by binding `json-false' and `json-null' as desired.

Share and Enjoy!

-- 
Edward O'Connor
address@hidden

Ense petit placidam sub libertate quietem.



Attachment: json.el
Description: JavaScript Object Notation parser / generator for Emacs Lisp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]