Quantcast
Channel: JMESPath Path Where Key Might Not Exist - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by β.εηοιτ.βε for JMESPath Path Where Key Might Not Exist

Given the JSON:[ {"a": {"b": {"c": "d (of a.b.c)" } } }, {"b": {"c": "d (of b.c)" } }, {"z": {"b": {"c": "d (of z.b.c)" } } }]You can use a combination of the or expression (||) and the flatten...

View Article



JMESPath Path Where Key Might Not Exist

I have a weird JSON construct (I cannot provide the actual data for security reasons, but I can provide the structure, which is all that really matters).Given the following structure:[ {"a": {"b":...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images