0.0
No commit activity in last 3 years
No release in over 3 years
A faster implementation of soutaro/strong_json
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
= 1.10.0
~> 10.0
= 0.48.1
 Project Readme

MightyJSON

A faster implementation of soutaro/strong_json.

Gem Version Build Status

Benchmarking

graph

  • In complex case, MightyJSON is faster 2.8x than StrongJSON (code).
  • In simple case, MightyJSON is faster around 2x ~ 10x than StrongJSON (code).

Installation

Add this line to your application's Gemfile:

gem 'mighty_json'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mighty_json

Usage

See soutaro/strong_json.

Compatibility

MightyJSON does not have the following methods.

  • Type::Object#merge
  • Type::Object#except
  • Type::*#coerce
  • Type::*#===
  • Type::*#=~

MightyJSON does not support literal type that is not serializable by Object#inspect method.

License

See LICENSE.txt and LICENSE.txt.original. This code bases soutaro/strong_json.