mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-15 07:38:14 +00:00
7 lines
368 B
Markdown
7 lines
368 B
Markdown
# JSON
|
|
|
|
Encode and decode to and from JSON. Supports multiple JSON documents in a single file (e.g. NDJSON).
|
|
|
|
Note that YAML is a superset of (single document) JSON - so you don't have to use the JSON parser to read JSON when there is only one JSON document in the input. You will probably want to pretty print the result in this case, to get idiomatic YAML styling.
|
|
|