Jq Concepts

From NovaOrdis Knowledge Base
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?