RC Logr 20200609 172638
Tuesday, 9 Jun, 2020
Found a good utility called «yq», which aims to be the jq for yaml. You can easily convert json (say from a REST i/f) to yaml, and it is a dependency free single binary. Sweet! 🥳 Works really well in scripts in combination with jq or curl.
For example, this is how you would convert a json file to yaml:
|
|
Yq read and pretty print. It just works.
RC Logr 20200609 172638 - Found a good utility called …