Sets plus JSON

Axel Rauschmayer axel at rauschma.de
Wed Oct 3 11:20:11 PDT 2012


Ah, now I get it. But isn’t that a much more general problem (dates, etc.)? You can either come up with a general encoding or do some schema-aware post-processing (including a JSON.parse reviver).

On Oct 3, 2012, at 20:04 , Rick Waldron <waldron.rick at gmail.com> wrote:

> 
> 
> On Wed, Oct 3, 2012 at 1:43 PM, Brandon Benvie <brandon at brandonbenvie.com> wrote:
> Another options for Maps is to represent them as an array of [key, value].
> 
> Which is a rough approximation of what a Map looks like internally.
> 
> 
> Again, I was more concerned with how to revive a Map and restore the key references.
> 
> 
> Rick 
> 

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121003/60762e27/attachment.html>


More information about the es-discuss mailing list