class JSON::Ext::Parser
This is the JSON
parser implemented as a C extension. It can be configured to be used by setting
JSON.parser = JSON::Ext::Parser
with the method parser= in JSON
.
Public Class Methods
static VALUE cParser_m_parse(VALUE klass, VALUE Vsource, VALUE opts) { Vsource = convert_encoding(StringValue(Vsource)); StringValue(Vsource); JSON_ParserConfig _config = {0}; JSON_ParserConfig *config = &_config; parser_config_init(config, opts); return cParser_parse(config, Vsource); }