Decode escaped Unicode characters like \u00DE (issue #304, PR #791)

This commit is contained in:
Benoit Blanchon
2019-02-15 13:29:30 +01:00
parent 070cd5b6c0
commit 7050ef675d
12 changed files with 284 additions and 143 deletions

View File

@ -272,6 +272,12 @@ TEST_CASE("deserialize JSON object") {
REQUIRE(err == DeserializationError::Ok);
}
SECTION("Repeated key") {
DeserializationError err = deserializeJson(doc, "{a:{b:{c:1}},a:2}");
REQUIRE(err == DeserializationError::Ok);
}
}
SECTION("Block comments") {