Forum Discussion
PaulMS
Super Contributor
Either JSONpath expression $.foo (single dot) or $..foo[0] (the first occurrence in an array) would return a string.
SiKing
8 years agoCommunity Expert
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.
- nmrao8 years agoChampion Level 3
May be below would be helpful if it needs to be dynamic.
Related Content
Recent Discussions
- 11 hours ago