[Issue 17557] New: std.json should not do UTF decoding when parsing
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jun 26 03:00:51 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17557
Issue ID: 17557
Summary: std.json should not do UTF decoding when parsing
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: dlang-bugzilla at thecybershadow.net
UTF decoding is not necessary for parsing JSON, thus when the input is a
string, decoding should not be done.
I.e. this should work:
parseJSON("\"\xFF\"").str == "\xFF");
--
More information about the Digitalmars-d-bugs
mailing list