0.0
No commit activity in last 3 years
No release in over 3 years
A JSON encoder that is tailored to the needs of Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

as_json Encoder

Build Status

A JSON encoder that is tailored to the needs of Rails. The goal is to take advantage of the domain knowledge and speed up the JSON encoding process in Rails applications.

This gem is compatible with Rails 4.1+.

Current Status

At the moment, this is highly experimental. Performance is competitive with the current Rails JSON encoder, but we have not achieved our performance goals yet.

Using this in production is not recommended.

See here for the current state of the encoder's performance.

Installation

Add this line to your Rails application's Gemfile:

gem 'as_json_encoder'

And then execute:

$ bundle

Usage

Simply follow the instructions above to add this to your Gemfile. No further configuration is necessary.

Contributing

  1. Fork it ( https://github.com/chancancode/as_json_encoder/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request