mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[flori/json] Deduplicate strings inside json_string_unescape
[ci 2]
1982070cb8
This commit is contained in:
parent
1d2b4ccaf2
commit
2de594ca98
4 changed files with 85 additions and 72 deletions
|
@ -63,7 +63,7 @@ static char *JSON_parse_value(JSON_Parser *json, char *p, char *pe, VALUE *resul
|
|||
static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *result);
|
||||
static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *result);
|
||||
static char *JSON_parse_array(JSON_Parser *json, char *p, char *pe, VALUE *result, int current_nesting);
|
||||
static VALUE json_string_unescape(char *string, char *stringEnd);
|
||||
static VALUE json_string_unescape(char *string, char *stringEnd, int intern, int symbolize);
|
||||
static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *result);
|
||||
static VALUE convert_encoding(VALUE source);
|
||||
static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue