Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
JSON::Ext::Generator::State#ascii_only?
ascii_only?
ext/json/generator/generator.c
View on GitHub ↗
static VALUE cState_ascii_only_p(VALUE self)
{
GET_STATE(self);
return state->ascii_only ? Qtrue : Qfalse;
}
Returns true, if only ASCII characters should be generated. Otherwise returns false.
See also
#array_nl=
#buffer_initial_length
#array_nl
#buffer_initial_length=
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0