json_api
Version, currently master branch1 version
- master branchlatestMay 26, 2016
github.com/repomaa/crystal-jsonapi
JSON API serializing for crystal
12 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
json_api:
github: repomaa/crystal-jsonapi
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Joakim Reinert <mail@jreinert.com>
Dependencies
This version declares no dependencies.
README
# JSONApi [](https://travis-ci.org/jreinert/crystal-jsonapi)
[JSON API](http://jsonapi.org) 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`:
```yaml
dependencies:
json_api:
github: jreinert/crystal-jsonapi
```
## Usage
See [examples/people.cr](examples/people.cr) for a real-world example and
[examples/people.out.json](examples/people.out.json) for the generated output.
## Contributing
1. Fork it ( https://github.com/jreinert/crystal-jsonapi/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
## Contributors
- [jreinert](https://github.com/jreinert) Joakim Reinert - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- May 26, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/repomaa/crystal-jsonapi
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1