Solved
Forum Discussion
PaulMS
9 years agoSuper Contributor
Either JSONpath expression $.foo (single dot) or $..foo[0] (the first occurrence in an array) would return a string.
- SiKing9 years agoCommunity Hero
The XPath //*:foo can also return multiple results. I was just hoping they both would behave consistently. Also, returning an array notation as a single string is iffy.
But thanx for the answer.
- nmrao9 years agoCommunity Hero
May be below would be helpful if it needs to be dynamic.