Jq Usage: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
==Object Identifier-Index Filter .key== | ==Object Identifier-Index Filter .key== | ||
The filter expects a map and produces the value associated with the key given as argument of the filter, or null if there is no such object. | The filter expects a map and produces the value associated with the key given as argument of the filter, or null if there is no such object. The value, if exists, can be a primitive, a map or an array. | ||
=Array Filters= | =Array Filters= |
Revision as of 18:30, 1 March 2019
Internal
Command Line Options
-r
Output raw strings, not JSON content.
Universal Filters
Identity Filter .
Map Filters
Object Identifier-Index Filter .key
The filter expects a map and produces the value associated with the key given as argument of the filter, or null if there is no such object. The value, if exists, can be a primitive, a map or an array.