mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-13 10:22:55 +01:00
pop the root node after readValue()
This commit is contained in:
parent
3c32dca892
commit
60ba071aac
@ -1048,6 +1048,7 @@ bool OurReader::parse(const char* beginDoc,
|
||||
nodes_.push(&root);
|
||||
|
||||
bool successful = readValue();
|
||||
nodes_.pop();
|
||||
Token token;
|
||||
skipCommentTokens(token);
|
||||
if (features_.failIfExtra_) {
|
||||
|
Loading…
Reference in New Issue
Block a user