instance method
JSON::Ext::ParserConfig#parse
parse(source)
ext/json/parser/parser.c
View on GitHub ↗
static VALUE cParserConfig_parse(VALUE self, VALUE Vsource)
{
GET_PARSER_CONFIG;
return cParser_parse(config, Vsource);
}
Parses the current JSON text source and returns the complete data structure as a result. It raises JSON::ParserError if fail to parse.