ext/oj/fast.c in oj-2.16.1 vs ext/oj/fast.c in oj-2.17.0

- old
+ new

@@ -1541,9 +1541,10 @@ struct _Out out; out.buf = buf; out.end = buf + sizeof(buf) - 10; out.allocated = 0; + out.omit_nil = oj_default_options.dump_opts.omit_nil; oj_dump_leaf_to_json(leaf, &oj_default_options, &out); rjson = rb_str_new2(out.buf); if (out.allocated) { xfree(out.buf); }