Skip to content

skanehira/xj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xj

xj is convert xml to JSON.

Installtion

$ git clone https://github.com/skanehira/xj
$ cd xj && go install

Usage

$ xj testdata/test.xml | jq
{
  "CATALOG": {
    "CD": [
      {
        "PRICE": "10.90",
        "YEAR": "1985",
        "TITLE": "Empire Burlesque",
        "ARTIST": "Bob Dylan",
        "COUNTRY": "USA",
        "COMPANY": "Columbia"
      },
      {
        "PRICE": "9.90",
        "YEAR": "1988",
        "TITLE": "Hide your heart",
        "ARTIST": "Bonnie Tyler",
        "COUNTRY": "UK",
        "COMPANY": "CBS Records"
      }
    ]
  }
}

Author

skanehira

About

convert xml to JSON CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages