This commit is contained in:
Mike Farah
2025-07-23 16:12:12 +10:00
parent 7b57e31a76
commit f7f6320e88
3 changed files with 458 additions and 156 deletions
+1 -1
View File
@@ -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: