ohler55/oj


Optimized JSON

http://www.ohler.com/oj

License: MIT

Language: C

Keywords: c, json, json-parser, marshaller, oj-gem, rails, ruby, ruby-json-parser


{}j gem

Build Status AppVeyor Gem Gem SemVer compatibility TideLift

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

Version 3.0 is out! 3.0 provides better json gem and Rails compatibility. It also provides additional optimization options.

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'

Support

Get supported Oj with a Tidelift Subscription.

Further Reading

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

Releases

See {file:CHANGELOG.md}

Links

Follow @peterohler on Twitter for announcements and news about the Oj gem.

Performance Comparisons

Links of Interest

Contributing

  • Provide a Pull Request off the develop branch.
  • Report a bug
  • Suggest an idea

Project Statistics

Sourcerank 18
Repository Size 3.36 MB
Stars 2,355
Forks 162
Watchers 36
Open issues 4
Dependencies 4
Contributors 74
Tags 176
Created
Last updated
Last pushed

Top Contributors See all

Peter Ohler Yuichiro Kaneko Dmitry Krasnoukhov Ville Lautanala stereobooster Alastair Surin ajsrn David Chelimsky Kurtis Rainbolt-Greene Stefan Kaes Ian Ker-Seymer Andrew Kuklewicz Chulki Lee Mathieu Martin Olle Jonsson Omer Katz deepj Francesco Rodríguez Nobuyoshi Nakada SHIBATA Hiroshi

Packages Referencing this Repo

oj
The fastest JSON parser and object serializer.
Latest release 3.8.1 - Updated - 2.36K stars

Recent Tags See all

v3.8.1 July 22, 2019
v3.8.0 July 17, 2019
v3.7.12 April 14, 2019
v3.7.11 March 20, 2019
v3.7.10 March 14, 2019
v3.7.9 February 18, 2019
v3.7.8 January 21, 2019
v3.7.7 January 16, 2019
v3.7.6 December 30, 2018
v3.7.5 December 27, 2018
v3.7.4 November 29, 2018
v3.7.3 November 29, 2018
v3.7.2 November 29, 2018
v3.7.1 November 09, 2018
v3.7.0 October 29, 2018

Interesting Forks See all

frsyuki/oj
Optimized JSON
C - BSD-3-Clause - Last pushed - 2 stars - 1 forks
enebo/oj
Optimized JSON
C - MIT - Last pushed - 1 stars
dchelimsky/oj
Optimized JSON
C - BSD-3-Clause - Last pushed - 1 stars - 1 forks
mutru/oj
Optimized JSON
C - BSD-3-Clause - Last pushed - 1 stars
khua/oj
Optimized JSON
C - BSD-3-Clause - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-07-17 14:03:08 UTC

Login to resync this repository