<div dir="ltr">Check the documentation of the "file" module. You can get the contents of a file in list of binary format. That means, you don't have to do your own escaping.<div><br></div><div>Theepan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 25, 2015 at 9:12 PM, Roelof Wobben <span dir="ltr"><<a href="mailto:r.wobben@home.nl" target="_blank">r.wobben@home.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I like to try to parse a json file in Erlang.<br>
<br>
I found the jsx library where I noticed that all "strings" where excaped by a /<br>
<br>
Do I have to do it myself or can I write a function which checks if something is a list and then concat a / the string and another / ?<br>
<br>
Roelof<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>