r19019: Add a parser for javascript literals. This is implemented for parsing JSON
authorDerrell Lipman <derrell@samba.org>
Mon, 2 Oct 2006 02:36:27 +0000 (02:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:28 +0000 (14:20 -0500)
commit82fdcd9339a8ffb1016b96c06f7d6580aa759174
tree0fe06b025237a7a5dbb4ecb290fa29f07e73a393
parent7b9ee1171ddc89537ba3b286f20c722fb70c980b
r19019: Add a parser for javascript literals.  This is implemented for parsing JSON
strings, but is generally useful for creating ejs variables from object or
array literals, which aren't supported in the old version of ejs that we're
using.

This parser is implemented in C, but is callable from an ejs script via
literal_to_var().
jsonrpc/json.esp
source/scripting/ejs/config.mk
source/scripting/ejs/literal.c [new file with mode: 0644]