Method: JSON::Ext::Generator::State#object_nl=

Defined in:
generator/generator.c

#object_nl=(object_nl) ⇒ Object

This string is put at the end of a line that holds a JSON object (or Hash).



1256
1257
1258
1259
1260
1261
# File 'generator/generator.c', line 1256

static VALUE cState_object_nl_set(VALUE self, VALUE object_nl)
{
    GET_STATE(self);
    RB_OBJ_WRITE(self, &state->object_nl, string_config(object_nl));
    return Qnil;
}