ext/json/ext/parser/parser.rl in json_pure-1.7.6 vs ext/json/ext/parser/parser.rl in json_pure-1.7.7
- 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 = 1;
+ json->create_additions = 0;
}
tmp = ID2SYM(i_create_id);
if (option_given_p(opts, tmp)) {
json->create_id = rb_hash_aref(opts, tmp);
} else {