Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
JSON::Ext::Generator::State#allow_duplicate_key?
allow_duplicate_key?
ext/json/generator/generator.c
View on GitHub ↗
static VALUE cState_allow_duplicate_key_p(VALUE self)
{
GET_STATE(self);
return state->allow_duplicate_key ? Qtrue : Qfalse;
}
No documentation available
See also
.rfc8785_sort_keys_proc=
#allow_nan=
.rfc8785_number_formatter_proc=
#allow_nan?
also in
4.0