pages/Modes.md in oj-3.7.12 vs pages/Modes.md in oj-3.8.0

- old
+ new

@@ -12,11 +12,11 @@ - `:compat` or `:json` - `:rails` - `:object` - `:custom` -Since modes detemine what the JSON output will look like and alternatively +Since modes determine what the JSON output will look like and alternatively what Oj expects when the `Oj.load()` method is called, mixing the output and input mode formats will most likely not behave as intended. If the object mode is used for producing JSON then use object mode for reading. The same is true for each mode. It is possible to mix but only for advanced users. @@ -115,17 +115,19 @@ | :nilnil | Boolean | | | | | | x | | | :object_class | Class | | | x | | | x | | | :object_nl | String | | | x | x | | x | | | :omit_nil | Boolean | x | x | x | x | x | x | | | :quirks_mode | Boolean | | | 6 | | | x | | +| :safe | String | | | x | | | | | | :second_precision | Fixnum | | | | | x | x | | | :space | String | | | x | x | | x | | | :space_before | String | | | x | x | | x | | | :symbol_keys | Boolean | x | x | x | x | x | x | | | :trace | Boolean | x | x | x | x | x | x | x | | :time_format | Symbol | | | | | x | x | | | :use_as_json | Boolean | | | | | | x | | +| :use_raw_json | Boolean | | | x | x | x | x | | | :use_to_hash | Boolean | | | | | | x | | | :use_to_json | Boolean | | | | | | x | | -------------------------------------------------------------------------------------------------------- 1. :allow_blank an alias for :nilnil. @@ -149,6 +151,5 @@ that object a second time. 6. The quirks mode option is no longer supported in the most recent json gem. It is supported by Oj for backward compatibility with older json gem versions. -