www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17587] New: JSONOptions: No forward slash encoding


          Issue ID: 17587
           Summary: JSONOptions: No forward slash encoding
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: andre s-e-a-p.de

In most cases I use std.json I do not want the \/ encoding. For example I build
a AWS SDK. The structures are serialized to JSON which is passed to the AWS
client for execution.
I do a very naive string replacement \/ with /. I have similiar cases where I
do this string replacement and wonder whether \/ encoding can be deactivated by
adding an additional JSONOptions flag

Jul 03 2017