Jq Concepts

From NovaOrdis Knowledge Base
Revision as of 19:10, 1 March 2019 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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?