Searched refs:object_nl (Results 1 - 4 of 4) sorted by relevance
/macosx-10.10.1/ruby-106/ruby/ext/json/generator/ |
H A D | generator.c | 483 if (state->object_nl) ruby_xfree(state->object_nl); 557 state->object_nl = fstrndup(RSTRING_PTR(tmp), len + 1); 627 rb_hash_aset(result, ID2SYM(i_object_nl), rb_str_new(state->object_nl, state->object_nl_len)); 674 char *object_nl = state->object_nl; local 694 if (object_nl) { 695 fbuffer_append(buffer, object_nl, object_nl_len); 710 if (object_nl) { 711 fbuffer_append(buffer, object_nl, object_nl_le 1126 cState_object_nl_set(VALUE self, VALUE object_nl) argument [all...] |
H A D | generator.h | 66 char *object_nl; member in struct:JSON_Generator_StateStruct 137 static VALUE cState_object_nl_set(VALUE self, VALUE object_nl);
|
/macosx-10.10.1/ruby-106/ruby/test/json/ |
H A D | test_json_generate.rb | 134 :object_nl => "\n", 151 :object_nl => "", 168 :object_nl => "", 236 :object_nl => '4', 244 assert_equal '4', state1.object_nl 251 assert_equal '4', state2.object_nl
|
/macosx-10.10.1/ruby-106/ruby/ext/json/lib/json/ |
H A D | common.rb | 71 :object_nl => "", 78 :object_nl => "\n", 196 # * *object_nl*: a string that is put at the end of a JSON object (default: ''),
|
Completed in 209 milliseconds