talira

Compare

yajl-rubyOj
What it isFast streaming JSON parsing and encoding for Ruby, built on the YAJL C libraryA fast JSON parser and Object marshaller as a Ruby gem
KindOpen sourceOpen source
Trust0.480.67
Stars14893228
Last commit2026-11-042026-11-22
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API—Yes
Plugins——
MCP server——
CompanyBrian Lopez—
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
Limitations
  • Its HTTP client supports only GET requests
  • Doesn't run on JRuby: it's a C extension, and JRuby support was removed