Method: JSON::Ext::Parser#source

Defined in:
parser/parser.c

#sourceObject

Returns a copy of the current source string, that was used to construct this Parser.



2114
2115
2116
2117
2118
# File 'parser/parser.c', line 2114

static VALUE cParser_source(VALUE self)
{
    GET_PARSER;
    return rb_str_dup(json->Vsource);
}