@@ -129,43 +129,43 @@ typedef struct _dumpOpts {
129129} * DumpOpts ;
130130
131131typedef struct _options {
132- int indent ; // indention for dump, default 2
133- char circular ; // YesNo
134- char auto_define ; // YesNo
135- char sym_key ; // YesNo
136- char escape_mode ; // Escape_Mode
137- char mode ; // Mode
138- char class_cache ; // YesNo
139- char time_format ; // TimeFormat
140- char bigdec_as_num ; // YesNo
141- char bigdec_load ; // BigLoad
142- char compat_bigdec ; // boolean (0 or 1)
143- char to_hash ; // YesNo
144- char to_json ; // YesNo
145- char as_json ; // YesNo
146- char raw_json ; // YesNo
147- char nilnil ; // YesNo
148- char empty_string ; // YesNo
149- char allow_gc ; // allow GC during parse
150- char quirks_mode ; // allow single JSON values instead of documents
151- char allow_invalid ; // YesNo - allow invalid unicode
152- char create_ok ; // YesNo allow create_id
153- char allow_nan ; // YEsyNo for parsing only
154- char trace ; // YesNo
155- char safe ; // YesNo
156- char sec_prec_set ; // boolean (0 or 1)
157- char ignore_under ; // YesNo - ignore attrs starting with _ if true in object and custom modes
158- char cache_keys ; // YesNo
159- char cache_str ; // string short than or equal to this are cache
160- int64_t int_range_min ; // dump numbers below as string
161- int64_t int_range_max ; // dump numbers above as string
162- const char * create_id ; // 0 or string
163- size_t create_id_len ; // length of create_id
164- int sec_prec ; // second precision when dumping time
165- char float_prec ; // float precision, linked to float_fmt
166- char float_fmt [7 ]; // float format for dumping, if empty use Ruby
167- VALUE hash_class ; // class to use in place of Hash on load
168- VALUE array_class ; // class to use in place of Array on load
132+ int indent ; // indention for dump, default 2
133+ char circular ; // YesNo
134+ char auto_define ; // YesNo
135+ char sym_key ; // YesNo
136+ char escape_mode ; // Escape_Mode
137+ char mode ; // Mode
138+ char class_cache ; // YesNo
139+ char time_format ; // TimeFormat
140+ char bigdec_as_num ; // YesNo
141+ char bigdec_load ; // BigLoad
142+ char compat_bigdec ; // boolean (0 or 1)
143+ char to_hash ; // YesNo
144+ char to_json ; // YesNo
145+ char as_json ; // YesNo
146+ char raw_json ; // YesNo
147+ char nilnil ; // YesNo
148+ char empty_string ; // YesNo
149+ char allow_gc ; // allow GC during parse
150+ char quirks_mode ; // allow single JSON values instead of documents
151+ char allow_invalid ; // YesNo - allow invalid unicode
152+ char create_ok ; // YesNo allow create_id
153+ char allow_nan ; // YEsyNo for parsing only
154+ char trace ; // YesNo
155+ char safe ; // YesNo
156+ char sec_prec_set ; // boolean (0 or 1)
157+ char ignore_under ; // YesNo - ignore attrs starting with _ if true in object and custom modes
158+ char cache_keys ; // YesNo
159+ char cache_str ; // string short than or equal to this are cache
160+ int64_t int_range_min ; // dump numbers below as string
161+ int64_t int_range_max ; // dump numbers above as string
162+ const char * create_id ; // 0 or string
163+ size_t create_id_len ; // length of create_id
164+ int sec_prec ; // second precision when dumping time
165+ char float_prec ; // float precision, linked to float_fmt
166+ char float_fmt [7 ]; // float format for dumping, if empty use Ruby
167+ VALUE hash_class ; // class to use in place of Hash on load
168+ VALUE array_class ; // class to use in place of Array on load
169169 struct _dumpOpts dump_opts ;
170170 struct _rxClass str_rx ;
171171 VALUE * ignore ; // Qnil terminated array of classes or NULL
0 commit comments