[erlang-questions] erlang parser for javascript literals

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Mon Oct 8 13:21:55 CEST 2012


On Oct 8, 2012, at 12:41 PM, dmitry kolesnikov <dmkolesnikov@REDACTED> wrote:

> Hello Joe,
> 
> Object members without quotes is against JSON RFC. If you skip quotes
> then this is not JSON any more.
> 

This is true, but it does not hold you back from choosing another representation format and then converting from that format into proper JSON later when you need to interact with other systems in a correct manner. Raw JSON is quite hard to write due to some of the rules in the dark corners of JS parsing :)


Jesper Louis Andersen
  Erlang Solutions Ltd., Copenhagen




More information about the erlang-questions mailing list