Skip to content

huchengze/yaml2json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml2json

A small tool for converting YAML files into JSON.

Installation

macOS

$ brew tap wakeful/selection
$ brew install yaml2json

Linux

curl -Lo yaml2json https://github.com/wakeful/yaml2json/releases/latest/download/yaml2json-linux-amd64 && chmod +x yaml2json && sudo mv yaml2json /usr/local/bin/

src

go get -u github.com/wakeful/yaml2json

Usage

stdin pipe:

cat file.yml | yaml2json

or specify a file:

yaml2json path/file.yml

About

convert YAML to JSON.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 78.2%
  • Shell 21.8%