Oj v2.9.7 Release Notes
Release Date: 2014-06-24 // almost 10 years ago-
- ๐ Changed dump to use raw / and raw \n in output instead of escaping.
- ๐ Changed the writer to always put a new line at the end of a top level JSON object. It makes output easier to view and edit with minimal impact on size.
- ๐ Worked around the file.gets look ahead caching as long as it is not called while parsing (of course).
- ๐ Thanks to lautis for a new parse option. quirks_mode allows Oj to behave quirky like the JSON gem. Actually the JSON gem has it backwards with quirky mode supporting the JSON spec and non-quirky limiting parsing to objects and arrays. Oj stays consistent with the JSON gem to avoid confusion.
- ๐ Fixed problem with sc_parse not terminating the string when loaded from a file.
- Thanks go to dchelimsky for expanding the code sample for the ScHandler.