Clear the stack after parsing and fixes indentation.
This commit is contained in:
parent
74a24377a8
commit
188b99b471
@ -250,6 +250,7 @@ public:
|
||||
RAPIDJSON_PARSE_ERROR_NORETURN("Nothing should follow the root object or array.", is.Tell());
|
||||
}
|
||||
|
||||
stack_.Clear();
|
||||
return !HasParseError();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user