Hi All,
Have you had any success using a JSON object as part of your matching pattern? I’m trying to check if a user has clicked a button (the text is stored in a JSON object), but I keep matching the first option, I believe it’s because the JSON construct is returning a blank in a pattern matching context.
I’ve tried using:
a: ($jsonobject.text[0])
a: (^eval($jsonobject.text[0]))
a: (^jsonpath(0 $jsonobject.text))
all with the same effect (anything will match them).
Any hints what to try next?