[erlang-questions] erlang parser for javascript literals

José Valim <>
Mon Oct 8 13:29:50 CEST 2012

> 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 :)

If you don't want to parse strictly JSON, YAML is an option that will give
you more flexibility than JSON (and the features you asked).

There are some available Erlang wrappers for libyaml, but I haven't used
them personally:


José Valim
* <https://github.com/goertzenator/yamler>*
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121008/eac5431f/attachment.html>

More information about the erlang-questions mailing list