Jq Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


* [[jq#Subjects|jq]]
* [[jq#Subjects|jq]]
* [[jq Usage|jq Usage]]


=Pipeline Content=
=Pipeline Content=

Revision as of 19:10, 1 March 2019

Internal

Pipeline Content

The pipeline flows primitives, maps and arrays.

Individual strings flowing on a pipeline can be simulated with:

echo \"red\" \"blue\" \"green\" | jq '.'

Iteration

An iteration is pipeline content produced by the .[] filter, that converts and array into its individual elements.

Organizatorium

Conversion from a map to an array.

Conversion from array to a map?