JMESPath

JMESPath is a query language for JSON.

JMESPath is used by the Azure client. See Microsoft Azure.

Table of Contents

Examples

Loop through each item (“[]”) and select the “name” attribute.

... --query "[].name"

Filter the results. And: “&&”, Or: “||”.

... --query "[?field1=='value1']"
... --query "[?field1=='value1'&&condition2=='value2']"

Reference