Fixing issue. (#193)

This commit is contained in:
Daniel Lemire
2019-06-20 18:49:47 -04:00
committed by GitHub
parent 8914b12db5
commit d7f7f1b200
17 changed files with 144 additions and 55 deletions
+8
View File
@@ -92,6 +92,14 @@ bool ParsedJson::isValid() const {
return isvalid;
}
int ParsedJson::getErrorCode() const {
return errorcode;
}
std::string ParsedJson::getErrorMsg() const {
return simdjson::errorMsg(errorcode);
}
void ParsedJson::deallocate() {
bytecapacity = 0;
depthcapacity = 0;