Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.
s-konoPublic archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

xml2json

Install activesupport(gem)

  • https://rubygems.org/gems/activesupport/
    • version 5 系は ruby v2.2.2 以上を求めるようなので、(CentOS 7 のパッケージ版など) それ未満を使っている場合は version 4 系を指定する
    • 依存で入る concurrent-ruby (requires Ruby version >= 1.9.2) の要求により、1.8.7 (CentOS 6) では無理そう
for Ruby v2.2.2 (or upper)
% sudo gem install activesupport -p http://proxy.example.jp:8080/

for Old Ruby (>= v1.9.2)
% sudo gem install activesupport -v 4.2.10 -p http://proxy.example.jp:8080/

Example

% cat sample.xml | ./xml2json.rb

for python

xmljson を使っても良いかもしれない

% sudo pip install xmljson
% cat sample.xml | python -m xmljson -d yahoo

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages