CmdID

CmdID / Commands

yj

Convert between YAML, TOML, JSON, and HCL, preserving map order. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Convert yAML to JSON (default) from stdin and write the result to stdout

yj <file.yml -yIdentify

Convert tOML to yAML

yj <file.toml -tyIdentify

Convert jSON to tOML with indentation

yj <file.json -jtiIdentify

Convert HcL to jSON

yj <file.hcl -cjIdentify

Convert yAML to HcL ignoring inf/naN conversion

yj <file.yml -ycnIdentify

Display version