End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
JSON::Ext::Generator::State#buffer_initial_length
buffer_initial_length
ext/json/generator/generator.c
View on GitHub ↗
static VALUE cState_buffer_initial_length(VALUE self)
{
GET_STATE(self);
return LONG2FIX(state->buffer_initial_length);
}
This integer returns the current initial length of the buffer.
See also
#buffer_initial_length=
#ascii_only?
#array_nl=
#check_circular?
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0