End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
JSON::Ext::Parser#source
source()
ext/json/parser/parser.c
View on GitHub ↗
static VALUE cParser_source(VALUE self)
{
GET_PARSER;
return rb_str_dup(json->Vsource);
}
Returns a copy of the current source string, that was used to construct this Parser.