mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
84de9c078d
When there is no match at a given path, numeric keys are assumed to be strings. To create an array '+' must be used. e.g: yq n thing[+].cat fred will create an array under thing, whereas yq n thing[0].cat fred will create a map under thing, with a key '0' |
||
---|---|---|
.. | ||
array.yaml | ||
data1.yaml | ||
data2.yaml | ||
data3.yaml | ||
empty.yaml | ||
instruction_sample.yaml | ||
multiline-text.yaml | ||
multiple_docs_small.yaml | ||
multiple_docs.yaml | ||
numbered_keys.yml | ||
order.yaml | ||
order.yml | ||
sample2.yaml | ||
sample_array_2.yaml | ||
sample_array.yaml | ||
sample_text.yaml | ||
sample.json | ||
sample.yaml |