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: nob...@puremagic.com Reporter: dlang-bugzi...@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"); --