Synthoid/ExportSheetData

(JSON) Escape escaped chars

Opened this issue · 2 comments

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?

is there an option to keep it as \n? Json parser in Unity uses \n not \ \ n

\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.