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

Defined in:
ext/json/ext/generator/generator.c

#object_nlObject

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



1081
1082
1083
1084
1085
# File 'ext/json/ext/generator/generator.c', line 1081

static VALUE cState_object_nl(VALUE self)
{
    GET_STATE(self);
    return state->object_nl ? rb_str_new2(state->object_nl) : rb_str_new2("");
}