Project

son_jay

0.0
No commit activity in last 3 years
No release in over 3 years
Symmetrical transformation between structured data and JSON
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

SonJay

Symmetrical transformation between structured data and JSON

Allows concrete object/array data model classes to be defined, and then allows JSON serialization/parsing from/to an instance of one of those classes.

This allows a single body of code to be used to define a JSON API structure for a provider and its clients.

Instances of these models can also be used to help keep automated tests simple and reliable. Attempts by test setup code or code under test to produce incorrectly structured data will generally fail in a fast, informative way.

Installation

Add this line to your application's Gemfile:

gem 'son_jay'

And then execute:

$ bundle

Or install it yourself as:

$ gem install son_jay

Usage

Contributing

  1. Fork it ( http://github.com//son_jay/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 new Pull Request