Simple tool to convert YAML -> JSON -> YAML making it easier to read by a person.
This command has no parameters and takes input only via STDIN (as UTF-8).
If the input is JSON, then it outputs YAML. If the input is YAML, then it outputs pretty JSON.
JSON input is expected to be a single JSON document.
Get the JSON schema for registry resource as YAML:
registry schema | y2j
Convert back to JSON to get pretty print JSON:
registry schema | y2j | y2j