[erlang-questions] eep-18

Steve Davis steven.charles.davis@REDACTED
Tue Sep 24 15:34:15 CEST 2013


Ah yes. Thank you Akonsu!

It seems I had not come across a profound inconsistency in JSON after all.

/s

On Sep 23, 2013, at 9:21 PM, akonsu <akonsu@REDACTED> wrote:

> Do you mean like this?
> 
> 
> var h = {"-12.3":"test"};
> var v = h["-12.3"];
> 
> 
> 
> 2013/9/23 Steve Davis <steven.charles.davis@REDACTED>
> Since...
> 
> JSON.parse("{\"-12.3\":\"test\"}");
> 
> ...is valid according to RFC-4627
> 
> ...is it possible to retrieve "test" from the key "-12.3" in javascript?
> 
> (It's obviously possible in erlang)
> 
> /s
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130924/ab39efc5/attachment.htm>


More information about the erlang-questions mailing list