parse function
Implementation
dynamic parse(String source, JsonParserHandler handler) {
final state = State(source);
state.context = handler;
final result = _json(state);
if (!state.ok) {
final message = _errorMessage(source, state.errors);
throw FormatException('\n$message');
}
return result;
}