[Issue 20330] New: json toString with outputrange

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 28 16:05:19 UTC 2019


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

          Issue ID: 20330
           Summary: json toString with outputrange
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: rschadek at symmetryinvestments.com

```
JSONValue jv;

auto app = appender!string();
formattedWrite(app, "%s", jv);
```

is currently not possible as the function std.json.toJSON does not take a
output
range.

--


More information about the Digitalmars-d-bugs mailing list