1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00
yq/examples
Mike Farah 84de9c078d Improved handling of numeric keys
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'
2019-05-16 10:03:54 +10:00
..
2017-09-23 13:53:04 -04:00
2017-09-23 14:45:59 +10:00
2018-07-07 15:26:56 +10:00
2019-05-13 09:32:08 +10:00
2018-07-08 21:47:01 +10:00
2017-09-23 08:37:34 +10:00
2017-09-23 08:37:34 +10:00
2017-09-23 08:37:34 +10:00
2018-07-07 15:26:56 +10:00
2017-09-23 08:37:34 +10:00
2017-09-23 08:37:34 +10:00
2017-09-23 08:37:34 +10:00