Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

yaml2jsonnet

Sometimes you needo craft some jsonnet but you may have some existing example in YAML you may want to use as a starting point.

Jsonnet provides this feature by default and its so simple I'll repeat it here in full in the readme:

jsonnet -e "std.parseYaml(importstr '$1')" | jsonnetfmt -

I packaged this up in a github repo because my colleagues frequently ask how to convert some YAML into Jsonnet so I figured this may need to become more easily discoverable somehow.

About

simple script to quickly convert some yaml into jsonnet

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages