Method: JSON::Ext::Generator::State#space_before
- Defined in:
- ext/json/ext/generator/generator.c
#space_before ⇒ Object
This string is used to insert a space before the ‘:’ in JSON objects.
1044 1045 1046 1047 1048 |
# File 'ext/json/ext/generator/generator.c', line 1044
static VALUE cState_space_before(VALUE self)
{
GET_STATE(self);
return state->space_before ? rb_str_new2(state->space_before) : rb_str_new2("");
}
|