No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
simdjson gem is a binding to use simdjson, which is a Lemire's fast JSON parser.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 5.0
>= 0
>= 12.3.3
~> 0.89.1
 Project Readme

simdjson gem

Ruby Gem Version

A Ruby bindings for simdjson.

Installation

Add this line to your application's Gemfile:

gem 'simdjson'

And then execute:

$ bundle

Or install it yourself as:

$ gem install simdjson

Usage

Simdjson.parse returns a Hash (if successful).

require 'simdjson'

p Simdjson.parse %|{"a": 12345}| # => {"a"=>12345}
Simdjson.parse %|abcd| # => raise Simdjson::ParseError

Contributing

Formatter

Please use clang-format like this:

$ clang-format -style=file -i ext/simdjson/*

License

The gem is available as open source under the terms of the MIT License.