<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=705633339897683&amp;ev=PageView&amp;noscript=1">
oj and tidelift

oj is a rubygems component included in the Tidelift Subscription

Tidelift is working with the maintainers of oj and thousands of other projects to provide application development teams with customizable catalogs of known-good, proactively maintained open source.


With a managed open source subscription from Tidelift, you’ll be able to create your own customizable catalogs of known-good, proactively maintained JavaScript, Python, Java, PHP, Ruby, and . NET components. Accelerate your adoption of open source without the burden of managing it yourself and without sacrificing security, maintainability, or licensing compliance.



tidelift-different-q32019 oj is a part of the Tidelift Subscription

About oj

Oj gem (Optimized JSON) is a fast JSON parser and Object marshaller as a Ruby gem. OJ gem is faster than the built in Ruby json gem. Oj gem achieves this by implementing the encoding and decoding of JSON in C, as a C extension to Ruby.

The approach taken by both the json gem and ActiveSupport is to push JSON encoding to the individual object and then patching those objects to implement encoding and decoding. Oj gem take a different approach and looks at Ruby objects as data and keeps the endcoding in C instead of going out to each object and encoding in Ruby. This is more of a service of function programming approach to encoding. Learn more.

oj gem is available via the RubyGems package manager.



The Tidelift Subscription



Stop parsing painful scanner reports

full of false positives and open source trivia
Create-catalog (1)

Start using our catalogs of known-good open source components

that are proactively managed for you

Create your own catalogs of approved components,

and customize specifically for your organization




Verified updates for zero-day vulnerabilities, coordinated security responses, and immediate notifications of which of your applications are impacted, with the fix prepared for you. Like your phone, just "apply updates" to stay secure.


Verified-accurate open source licenses (including IP indemnification) and customizable policy enforcement. Your up-to-date software “bill of materials” is always one click away.


Tidelift continuously guides you on your upgrade path, steering you towards the best packages and versions for your particular application. It’s like a GPS for open source software.

Free Demo