[Issue 15510] json shouldn't escape forward slash by default

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 17 12:16:38 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15510

Andre <andre at s-e-a-p.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andre at s-e-a-p.de

--- Comment #1 from Andre <andre at s-e-a-p.de> ---
Everywhere I use toString method I also add the replace(`\/`,`/`) because for
my use cases the \/ escaping is just wrong.

I am not sure whether the default behavior should be changed because this could
silently introduce new behaviors in existing programs but there should be
definitely a new option "noForwardSlashEncoding" in JSONOptions.

--


More information about the Digitalmars-d-bugs mailing list