1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Enhance from_entries to better deal with Amazon AWS Tags

This commit is contained in:
Kim Toms
2015-02-10 08:33:56 -05:00
parent 1e13e1e06e
commit ca78a746e6
3 changed files with 8 additions and 3 deletions

View File

@@ -738,7 +738,8 @@ sections:
`from_entries` does the opposite conversion, and
`with_entries(foo)` is a shorthand for `to_entries |
map(foo) | from_entries`, useful for doing some operation to
all keys and values of an object.
all keys and values of an object. `from_entries` accepts key, Key,
Name, value and Value as keys.
examples:
- program: 'to_entries'