FastMultiJson

Build Status

Based on the excellent MultiJson gem but rather than having an adapter, it just defines a to_json method which uses the fastest JSON encoder/decoder, or whatever you decide.

Installation

Add this line to your application's Gemfile:

gem 'fast_multi_json'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fast_multi_json

Or just drop in the code.

Usage

FastMultiJson.to_json(object) # or dump
FastMultiJson.parse(json_string) # TBD, or load

Development

  1. Check out the repo.
  2. Run bin/setup to install dependencies.
  3. Run rake spec to run the tests.

To install this gem onto your local machine, run bundle exec rake install.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bf4/fast_multi_json.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

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

Code of Conduct

Everyone interacting in the FastMultiJson project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.