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)
commitad60ec590765607077ae6141b4613a762f69a539
treee79ac63f723a384340507fd72fb98d68d0307800
parent127c96f49905291b4566c2a1bc25d882ae111466
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().
(This used to be commit 82fdcd9339a8ffb1016b96c06f7d6580aa759174)
jsonrpc/json.esp
source4/scripting/ejs/config.mk
source4/scripting/ejs/literal.c [new file with mode: 0644]