instance method
JSON::Ext::Generator::State#as_json=
as_json=(as_json)
ext/json/generator/generator.c
View on GitHub ↗
static VALUE cState_as_json_set(VALUE self, VALUE as_json)
{
rb_check_frozen(self);
GET_STATE(self);
RB_OBJ_WRITE(self, &state->as_json, rb_convert_type(as_json, T_DATA, "Proc", "to_proc"));
return Qnil;
}
This string is put at the end of a line that holds a JSON array.