ext/oj/oj.h in oj-3.4.0 vs ext/oj/oj.h in oj-3.5.0
- old
+ new
@@ -150,10 +150,11 @@
char allow_gc; // allow GC during parse
char quirks_mode; // allow single JSON values instead of documents
char allow_invalid; // YesNo - allow invalid unicode
char create_ok; // YesNo allow create_id
char allow_nan; // YEsyNo for parsing only
+ char trace; // YesNo
const char *create_id; // 0 or string
size_t create_id_len; // length of create_id
int sec_prec; // second precision when dumping time
char float_prec; // float precision, linked to float_fmt
char float_fmt[7]; // float format for dumping, if empty use Ruby
@@ -320,9 +321,10 @@
extern VALUE oj_object_class_sym;
extern VALUE oj_object_nl_sym;
extern VALUE oj_quirks_mode_sym;
extern VALUE oj_space_before_sym;
extern VALUE oj_space_sym;
+extern VALUE oj_trace_sym;
extern VALUE oj_slash_string;
extern ID oj_add_value_id;
extern ID oj_array_append_id;