TentCanonicalJson
Derive Tent canonical json from post.
Installation
Add this line to your application's Gemfile:
gem 'tent-canonical-json'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tent-canonical-json
Usage
post = Hash.new # replace with hash representation of post json
TentCanonicalJson.encode(post) # => canonical json string
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request