Category "jmespath"

How to get data from two nodes with JMESPath

I get search results as JSON and try to match specific data with JMESPath . what succeed only in part. JSON looks like this: { "search_parameters": { "l

How to handle JMESPath contains filter on attribute that may be null?

I want to filter the output from the Azure CloudShell command az ad sp list which outputs a JSON array, eg by filtering to Publisher Name = "ACME". All az comma

How to use variable in JMESPath expression?

The regular expression works perfect as below: jmespath.search(currentStats, 'Items[?Name == Annie]') But I want to make my filtered key as a variable. I have t

JmesPath join or concatenate nested array elements

I realize there are several other JmesPath join questions here, but I'm having trouble with a separate problem that I haven't found any examples for, where I ne

Filtering at start of query breaks filtering at end of query

This is my JSON: { "items":[ { "fieldone":"sdfsdfsdfsdf", "fieldtwo":{ "subfieldTwo":{ "aaa/bbbb":"test-ap

Filtering at start of query breaks filtering at end of query

This is my JSON: { "items":[ { "fieldone":"sdfsdfsdfsdf", "fieldtwo":{ "subfieldTwo":{ "aaa/bbbb":"test-ap