| 898 | jsonSize = json.size(); |
| 899 | } |
| 900 | bool Parser::Parse(Node &root) |
| 901 | { |
| 902 | this->root = &root; |
| 903 | cursor = 0; |
| 904 | |
| 905 | tokenize(); |
| 906 | bool success = assemble(); |
| 907 | |
| 908 | this->root = NULL; |
| 909 | return success; |
| 910 | } |
| 911 | |
| 912 | const std::string &Parser::GetError() const |
| 913 | { |