(JSON) Escape escaped chars
Opened this issue · 2 comments
Synthoid commented
Add option to escape escaped chars. This is largely so external applications can read in chars correctly.
For example:
This is a newline test.
Pretty cool, right?
Currently exports as:
This is a newline test.\nPretty cool, right?
But an option to escape escaped chars would output:
This is a newline test.\\nPretty cool, right?
HawkenKing commented
is there an option to keep it as \n? Json parser in Unity uses \n not \ \ n
Synthoid commented
\n is currently what is used for newline characters. Escaping escaped chars would just be an extra option that can be used, so standard escaped chars like \n will always be available.