CrSerializer
JSON (and later YAML) serializer and validator inspired by JMS Serializer Annotations and Symfony Validation Constraint Annotations.
Goals
- Be a compliment to, not a replacement for,
JSON::Serializable
orYAML::Serializable
- Extensible and customizable to fit all use cases
- Make working with JSON APIs in Crystal much easier
- Be easy to adopt and start using effectively
- Work out of the box with most ORMs (assuming they are compatible with
JSON::Serializable
/annotations)
Documentation
Installation
Add this to your application's shard.yml
:
dependencies:
CrSerializer:
github: Blacksmoke16/CrSerializer
Contributing
- Fork it (https://github.com/Blacksmoke16/CrSerializer/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
- Blacksmoke16 Blacksmoke16 - creator, maintainer