JSON decoding

Brendan Eich brendan at mozilla.org
Fri Oct 20 13:17:49 PDT 2006

On Oct 20, 2006, at 4:11 PM, Bob Ippolito wrote:

> The encoder should have an object hook the same way the decoder does.

Symmetry, what a good idea.  TG1 members should consider this seriously.

> Throw away the filter.

There was some desire to filter without copying.

> Filtering functionality can be implemented if necessary by writing an
> encoder hook that inspects the object. If it needs to remove some
> key:value pairs, then it would create a new object that is missing the
> keys that should be filtered.

That's the copy we hoped to avoid.  Not a problem in your simplejson  


More information about the Es4-discuss mailing list