CrSerializer

Extensible annotation based serialization/deserialization/validation library json serialization annotations serializer yaml
0.4.0 released

Archived shard

This shard has been archived . It is no longer maintained or has been discontinued for other reasons.

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 or YAML::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

Documentation

Installation

Add this to your application's shard.yml:

dependencies:
  CrSerializer:
    github: Blacksmoke16/CrSerializer

Contributing

  1. Fork it (https://github.com/Blacksmoke16/CrSerializer/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

CrSerializer:
  github: blacksmoke16/CrSerializer
  version: ~> 0.4.0
License MIT
Crystal 0.27.0

Authors

Dependencies 0

Development Dependencies 1

  • ameba 0.8.1
    {'github' => 'veelenga/ameba', 'version' => '0.8.1'}
Last synced .
search fire star recently