A summary of data about the Ruby ecosystem.

https://github.com/ohler55/oj

Optimized JSON
https://github.com/ohler55/oj

Keywords

c json json-parser marshaller oj-gem rails ruby ruby-json-parser

Keywords from Contributors

activerecord activejob mvc rubygem rack rubocop rspec code-formatter static-code-analysis ruby-gem

Last synced: about 5 hours ago
JSON representation

Repository metadata

Optimized JSON

README.md

{}j gem

CI
Gem
Gem
TideLift

A fast JSON parser and Object marshaller as a Ruby gem.

Version 3.13 is out with a much faster parser (Oj::Parser) and option isolation.

Using

require 'oj'

h = { 'one' => 1, 'array' => [ true, false ] }
json = Oj.dump(h)

# json =
# {
#   "one":1,
#   "array":[
#     true,
#     false
#   ]
# }

h2 = Oj.load(json)
puts "Same? #{h == h2}"
# true

Installation

gem install oj

or in Bundler:

gem 'oj'

Rails and json quickstart

See the Quickstart sections of the Rails and json docs.

Support

Get supported Oj with a Tidelift Subscription. Security updates are supported.

Further Reading

For more details on options, modes, advanced features, and more follow these
links.

Releases

See {file:CHANGELOG.md} and {file:RELEASE_NOTES.md}

Contributing

  • Provide a Pull Request off the develop branch.
  • Report a bug
  • Suggest an idea
  • Code is now formatted with the clang-format tool with the configuration file in the root of the repo.

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: about 5 hours ago

Total Commits: 1,556
Total Committers: 139
Avg Commits per committer: 11.194
Development Distribution Score (DDS): 0.275

Commits in past year: 132
Committers in past year: 13
Avg Commits per committer in past year: 10.154
Development Distribution Score (DDS) in past year: 0.508

Name Email Commits
Peter Ohler p****r@o****m 1128
Watson w****8@g****m 142
yui-knk s****a@g****m 21
Nick Schonning n****i@g****m 12
dependabot[bot] 4****] 10
Dmitry Krasnoukhov d****y@k****m 10
Stan Hu s****u@g****m 9
Scott Myron s****n@g****m 9
Ville Lautanala l****s@g****m 8
stereobooster s****r@g****m 8
Anton Rieder 1****r 7
Mehmet Emin İNAÇ m****c@g****m 6
Alastair Surin a****n@g****m 6
David Chelimsky d****y@g****m 5
Ulysse Buonomo b****e@g****m 5
Kurtis Rainbolt-Greene me@k****e 5
Duncan MacGregor d****r@o****m 4
Jean byroot Boussier j****b@s****m 4
Oskar Eichler 6****r 4
Andrew Kuklewicz a****w@b****m 3
Chulki Lee c****e@g****m 3
Ian Ker-Seymer i****r@g****m 3
Stefan Kaes s****s@x****m 3
Roman Samoilov r****v@y****a 2
Peter Winton p****n@i****m 2
Omer Katz o****w@g****m 2
Olle Jonsson o****n@g****m 2
Nobuyoshi Nakada n****u@r****g 2
Naveen 1****n 2
Matthias Luedtke m****e@d****e 2
and 109 more...

Committer domains:


Issue and Pull Request metadata

Last synced: about 5 hours ago

Total issues: 103
Total pull requests: 274
Average time to close issues: 6 months
Average time to close pull requests: 17 days
Total issue authors: 93
Total pull request authors: 43
Average comments per issue: 4.86
Average comments per pull request: 1.56
Merged pull request: 226
Bot issues: 0
Bot pull requests: 15

Past year issues: 29
Past year pull requests: 103
Past year average time to close issues: about 1 month
Past year average time to close pull requests: about 11 hours
Past year issue authors: 26
Past year pull request authors: 15
Past year average comments per issue: 4.62
Past year average comments per pull request: 0.61
Past year merged pull request: 94
Past year bot issues: 0
Past year bot pull requests: 4

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ohler55/oj

Top Issue Authors

  • copiousfreetime (3)
  • Watson1978 (3)
  • fnordfish (2)
  • damseleng (2)
  • gschlager (2)
  • KJTsanaktsidis (2)
  • sferik (2)
  • semaperepelitsa (2)
  • amin7x6 (1)
  • sjanusz-r7 (1)
  • bquorning (1)
  • pjb3 (1)
  • mreinsch (1)
  • obrie (1)
  • mrbongiolo (1)

Top Pull Request Authors

  • Watson1978 (121)
  • ohler55 (20)
  • nschonni (18)
  • samyron (16)
  • dependabot[bot] (15)
  • stanhu (11)
  • meinac (9)
  • byroot (6)
  • aardvark179 (4)
  • jscheid (4)
  • OskarEichler (4)
  • casperisfine (2)
  • kenhys (2)
  • santiagogeliz (2)
  • copiousfreetime (2)

Top Issue Labels

Top Pull Request Labels

  • dependencies (15)
  • github_actions (8)

Package metadata

rubygems.org: oj

The fastest JSON parser and object serializer.

proxy.golang.org: github.com/ohler55/oj

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ohler55/oj#section-documentation
  • Licenses: mit
  • Latest release: v3.17.7+incompatible (published 6 days ago)
  • Last Synced: 2026-10-04T09:01:07.235Z (1 day ago)
  • Versions: 264
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 1.622%
    • Average: 4.057%
    • Dependent packages count: 6.492%
openbsd-7.9-amd64: converters/ruby-oj,ruby33

fast JSON parser and serializer

  • Homepage: https://github.com/ohler55/oj
  • Licenses: mit
  • Latest release: 3.16.10 (published 5 months ago)
  • Last Synced: 2026-05-28T00:27:42.580Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
openbsd-7.9-amd64: converters/ruby-oj,ruby40

fast JSON parser and serializer

  • Homepage: https://github.com/ohler55/oj
  • Licenses: mit
  • Latest release: 3.16.10 (published 5 months ago)
  • Last Synced: 2026-05-28T00:27:43.826Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
openbsd-7.9-amd64: converters/ruby-oj,ruby34

fast JSON parser and serializer

  • Homepage: https://github.com/ohler55/oj
  • Licenses: mit
  • Latest release: 3.16.10 (published 5 months ago)
  • Last Synced: 2026-05-28T00:27:43.236Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)

Dependencies

.github/workflows/CI.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
oj.gemspec rubygems
  • minitest ~> 5 development
  • rake-compiler >= 0.9, < 2.0 development
  • test-unit ~> 3.0 development
.github/workflows/clang-format.yml actions
  • actions/checkout v3 composite
  • jidicula/clang-format-action v4.11.0 composite
Gemfile rubygems
  • minitest ~> 5 development
  • rake-compiler >= 0.9, < 2.0 development
  • rubocop ~> 1.47 development
  • rubocop-minitest ~> 0.28.0 development
  • test-unit ~> 3.0 development
.github/workflows/rubocop.yml.ignore actions
  • actions/checkout v3 composite
  • r7kamura/rubocop-problem-matchers-action v1 composite
  • ruby/setup-ruby v1 composite
.github/workflows/valgrind.yml actions
  • actions/checkout v7 composite
  • ruby/setup-ruby v1 composite

Score: 35.11825804039788