xxx2json
other format to json
Examples(LTSV)
$ echo 'test:hoge\ttest2:hoge' | xxx2json ltsv
#=> [
#=> {
#=> "test": "hoge",
#=> "test2": "hoge"
#=> }
#=> ]
Support Format
- ltsv
- csv
- tsv
- yaml
- rss
- regexp
Installation
Add this line to your application's Gemfile:
gem 'xxx2json'
And then execute:
$ bundle
Or install it yourself as:
$ gem install xxx2json
Contributing
- Fork it
- 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 new Pull Request
Information
Copyright
Copyright (c) 2014 Hiroshi Toyama
See LICENSE.txt for details.