Sha256: 1f91d83b1208dd44c68bd2391c0cae1b2266674cfc9eb2d9a40610411156cc6e

Contents?: true

Size: 1022 Bytes

Versions: 2

Compression:

Stored size: 1022 Bytes

Contents

# simdjson gem
[![Build Status](https://travis-ci.org/saka1/simdjson_ruby.svg?branch=master)](https://travis-ci.org/saka1/simdjson_ruby)
[![Gem Version](https://badge.fury.io/rb/simdjson.svg)](https://badge.fury.io/rb/simdjson)

A Ruby bindings for [simdjson](https://github.com/lemire/simdjson).

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'simdjson'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install simdjson

## Usage

`Simdjson.parse` returns a Hash (if successful).

```ruby
require 'simdjson'

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

## Contributing

- Bug reports and pull requests are welcome on GitHub at https://github.com/saka1/simdjson_ruby.

### 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](https://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simdjson-0.4.0 README.md
simdjson-0.3.0 README.md