Class: JSON::Ext::ParserConfig

Inherits:
Object
  • Object
show all
Defined in:
ext/json/ext/parser/parser.c

Instance Method Summary collapse

Instance Method Details

#parse(source) ⇒ Object

Parses the current JSON text source and returns the complete data

structure as a result.
It raises JSON::ParserError if fail to parse.


2137
2138
2139
2140
2141
# File 'ext/json/ext/parser/parser.c', line 2137

static VALUE cParserConfig_parse(VALUE self, VALUE Vsource)
{
    GET_PARSER_CONFIG;
    return cParser_parse(config, Vsource);
}