mirror of
https://github.com/mikefarah/yq.git
synced 2026-03-10 15:54:26 +00:00
chore: fix some minor issues in the comments
Signed-off-by: cloudclaim <824973921@qq.com>
This commit is contained in:
parent
1187c954ec
commit
544bd9ff6f
@ -1,6 +1,6 @@
|
||||
---
|
||||
a: apple
|
||||
b: bannana
|
||||
b: banana
|
||||
---
|
||||
hello there
|
||||
apples: great
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Similar to the same named functions in `jq` these functions convert to/from an object and an array of key-value pairs. This is most useful for performing operations on keys of maps.
|
||||
|
||||
Use `with_entries(op)` as a syntatic sugar for doing `to_entries | op | from_entries`.
|
||||
Use `with_entries(op)` as a syntactic sugar for doing `to_entries | op | from_entries`.
|
||||
|
||||
## to_entries Map
|
||||
Given a sample.yml file of:
|
||||
|
||||
@ -2,4 +2,4 @@
|
||||
|
||||
Similar to the same named functions in `jq` these functions convert to/from an object and an array of key-value pairs. This is most useful for performing operations on keys of maps.
|
||||
|
||||
Use `with_entries(op)` as a syntatic sugar for doing `to_entries | op | from_entries`.
|
||||
Use `with_entries(op)` as a syntactic sugar for doing `to_entries | op | from_entries`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user