Brendan Eich (2015-01-27T23:37:59.000Z)
Axel Rauschmayer wrote:
>> So there's no need for this
>
> There is one use case (admittedly a rather hypothetical one): 
> serializing the Symbol.* symbols to a text format (e.g. an encoding in 
> JSON).

Symbols that user-code puts into the registry do not serialize this way, 
so why should the well-known ones?

If you want to write a JSON helper-pair (toJSON or a replacer, with a 
correponding reviver, I think), then you can indeed serialize and 
deserialize symbols. But there's no ES6 backstage default-wiring from 
JSON to Symbol.for/keyFor.

/be
d at domenic.me (2015-02-13T23:26:06.777Z)
Axel Rauschmayer wrote:

> There is one use case (admittedly a rather hypothetical one): 
> serializing the Symbol.* symbols to a text format (e.g. an encoding in 
> JSON).

Symbols that user-code puts into the registry do not serialize this way, 
so why should the well-known ones?

If you want to write a JSON helper-pair (toJSON or a replacer, with a 
correponding reviver, I think), then you can indeed serialize and 
deserialize symbols. But there's no ES6 backstage default-wiring from 
JSON to Symbol.for/keyFor.