Tag yaml
A safer way to parse YAML by removing some of the more dangerous parts of YAML parsing - an interesting approach that means you don't need everyone well-versed in the minutiae of the YAML spec!
Recommended read: StrictYAML https://hitchdev.com/strictyaml/
Pretty Printing YAML with the Ruby Command-Line (1 mins read).
Using Ruby's YAML
library to pretty-print YAML files from the command-line.
YAML: probably not so great after all
This is a great read about some of the risks of using YAML, especially the way that most YAML parsers default to executing arbitrary, unsafe commands from a file you're parsing.
Recommended read: YAML: probably not so great after all https://arp242.net/yaml-config.html
Converting YAML to JSON and vice versa (Part 1 - Ruby) (2 mins read).
Coerce YAML to JSON and vice versa, from the comfort of your Gem-studded command line.