| Features | - JSON.parse and JSON.generate
- pretty_generate for indented output
- JSON::Coder for per-call serialization of custom types
- ascii_only output with \u escapes
- C extension for CRuby and Java extension for JRuby
| - strict, null, compat (json gem), rails, object and custom modes
- Oj.optimize_rails to replace Rails' JSON encoder and decoder
- mimic_JSON to take over the JSON constant's methods
- Oj::Parser, a faster parser with option isolation
- Oj::Doc for fast access into a parsed document
- streaming and callback (SAJ, SCP) parsing
- safe_load and strict_load for untrusted input
- object mode that round-trips Ruby objects without monkey patching
- All 10 features
|