| Features | - parse and encode JSON directly from and to IO streams or strings
- compressed stream parsing and encoding for Bzip2, Gzip and Deflate
- parse and encode several JSON documents from one stream
- drop-in compatibility API for the json gem
- basic HTTP client that parses JSON as the response body arrives
- HTML-safe encoding option
| - 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
|