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.
Keep your supply chain secure with patches for new security vulnerabilities.
Stay covered with easy licensing policy enforcement and intellectual property indemnification.
Ensure your open source dependencies are actively maintained, both now and into the future.
Choose the best open source packages from the start—and then stay on the best releases.
Take a seat at the table with the creators behind the software you use.
Works with GitHub, GitLab, Bitbucket, and more. Support for every cloud platform.