Skip to content

saka1/simdjson_ruby

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Ruby bindings for simdjson

Resources

License

Stars

Watchers

Forks

Packages

No packages published