crystal-jsonapi
JSONApi
JSON API Serializers for Crystal
Features
- Easy serialization of basic JSON API objects
- Built in caching support
Performance
JSONApi is very fast. Thanks to the built in caching support it outperforms vanilla .to_json by almost an order of magnitude. See the following graphic.
Installation
Add this to your application's shard.yml
:
dependencies:
json_api:
github: jreinert/crystal-jsonapi
Usage
See examples/people.cr for a real-world example and examples/people.out.json for the generated output.
Contributing
- Fork it ( https://github.com/jreinert/crystal-jsonapi/fork )
- 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 a new Pull Request
Contributors
- jreinert Joakim Reinert - creator, maintainer
Repository
crystal-jsonapi
Owner
Statistic
- 12
- 0
- 0
- 0
- 0
- over 8 years ago
- February 17, 2016
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 00:48:42 GMT
Languages