JSON decoding

Bob Ippolito bob at redivi.com
Thu Nov 2 17:05:30 PST 2006


On 11/2/06, Brendan Eich <brendan at mozilla.com> wrote:
> On Nov 2, 2006, at 2:50 PM, Bob Ippolito wrote:
>
> > If an implementation that does "toJSON" is wanted, then I could
> > extract one from MochiKit.Base.serializeJSON...
>
> Having something comparable in size to json.js would be helpful.  We
> could weigh API issues along with "simplicity", and convince
> ourselves that the implementation costs when customizing are
> comparable, if not almost identical.
>

Ok, here you go. Comparable in size, implements toJSON.

http://undefined.org/mochi_json.js

-bob



More information about the Es4-discuss mailing list