ext/json/ext/parser/parser.rl in json_pure-1.6.8 vs ext/json/ext/parser/parser.rl in json_pure-1.7.0

- old
+ new

@@ -662,10 +662,10 @@ } tmp = ID2SYM(i_create_additions); if (option_given_p(opts, tmp)) { json->create_additions = RTEST(rb_hash_aref(opts, tmp)); } else { - json->create_additions = 0; + json->create_additions = 1; } tmp = ID2SYM(i_create_id); if (option_given_p(opts, tmp)) { json->create_id = rb_hash_aref(opts, tmp); } else {