Method: JSON::Ext::Generator::State#space

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

#spaceObject

This string is used to insert a space between the tokens in a JSON string.



1007
1008
1009
1010
1011
# File 'ext/json/ext/generator/generator.c', line 1007

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