xxx2json Build Status

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

  1. Fork it
  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

Information

Copyright (c) 2014 Hiroshi Toyama

See LICENSE.txt for details.