YAML → JSON
YAML to JSON — sorted or as-written.
Safe-loads any standard YAML file. Pretty-prints with a configurable indent. Optionally alphabetize keys for diff-friendly output.
—
Indent (spaces) 0 = compact
YAML 1.1 safe-load
Pretty-print indent
Optional sort keys