Build Status Code Climate Test Coverage

Jani::FromJson

Convert JSON data into jani structured movie object.

Installation

Add this line to your application's Gemfile:

gem 'jani-from_json'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jani-from_json

Usage

require "jani/from_json"

movie = Jani::FromJson.to_movie(json_data) #-> movie object

movie.strips #-> array of strip
movie.tracking_events #-> array of tracking events
#... see Jani::FromJson::Movie

Contributing

  1. Fork it ( https://github.com/[my-github-username]/jani-from_json/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