Match simdjson behavior for surrogate pairs

As far as I can tell
This commit is contained in:
2025-05-19 15:11:30 -04:00
parent 292154100f
commit bf30eabdfc
2 changed files with 24 additions and 61 deletions

View File

@@ -83,10 +83,6 @@ void compareWithSimdjson(std::string const &json) {
// This gets returned for precision errors sometimes?
return;
}
if (theirs == simdjson::STRING_ERROR) {
// why god why god do I gotta suffer
return;
}
if (theirs == simdjson::NUMBER_OUT_OF_RANGE) {
// We don't validate the precision of numbers
return;