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