mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Fixing issue. (#193)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user