simpleson
simpleson copied to clipboard
Update parsing results
Parsing functions should return the following
- The parsed object if valid
- A flag identifying if the parse was valid
- The index where parsing left off
If the parse results are cast to the parse type and the object is not valid, a std::bad_cast should be thrown.