HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by darkstarsys | Hacker News Reader
Full thread
darkstarsys
·
Looks really nice. I wish it handled yaml as well.
View on HN
mistercow
·
I like to have something like this in my shell:
y2j () { ruby -r json -r yaml -e 'puts JSON.dump(YAML.load(STDIN))' }
Makes it easy to use json tooling for yaml, although of course it flattens out anchors etc.
Reply on news.ycombinator.com