Fixed bug in parser when "null", "true" or "false" is mispelled

This commit is contained in:
Benoit Blanchon
2014-10-31 21:08:04 +01:00
parent 98463ea168
commit fead9b50b1
3 changed files with 33 additions and 10 deletions

View File

@ -22,6 +22,7 @@ class JsonParser {
bool isEnd() { return *_ptr == '\0'; }
bool skip(char charToSkip);
bool skip(const char *wordToSkip);
void skipSpaces();
void parseAnythingTo(JsonValue &destination);