Skip to content

pdk/yaml2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml2json

Converts YAML input to JSON output.

Install:

go get github.com/pdk/yaml2json@latest

usage:

$ cat sample/foobar.yaml
a: apple
b: bat
c:
- foo
- bar

$ yaml2json < sample/foobar.yaml
{
    "a": "apple",
    "b": "bat",
    "c": [
        "foo",
        "bar"
    ]
}

About

convert yaml to json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages