Method: JSON::Ext::Generator::State#space_before
- Defined in:
- ext/json/ext/generator/generator.c
#space_before ⇒ Object
Returns the string that is used to insert a space before the ‘:’ in JSON objects.
1640 1641 1642 1643 1644 |
# File 'ext/json/ext/generator/generator.c', line 1640 static VALUE cState_space_before(VALUE self) { GET_STATE(self); return state->space_before ? state->space_before : rb_str_freeze(rb_utf8_str_new("", 0)); } |