[erlang-questions] eep-18

Steve Davis <>
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 <> wrote:

> Do you mean like this?
> 
> 
> var h = {"-12.3":"test"};
> var v = h["-12.3"];
> 
> 
> 
> 2013/9/23 Steve Davis <>
> 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
> 
> 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.html>


More information about the erlang-questions mailing list