Forum Discussion
richie
4 years agoCommunity Hero
Hey rcummings
I'm on my phone so i cant double check by reproducing your issue, and it's been awhile since I bothered using a json data source, but the jsonpath to the contracts array is simply $.contracts - i.e. without any array indicator (e.g. [])
have you tried using just $.contracts ??
nice one,
Rich
rcummings
4 years agoNew Contributor
Thank you...
When I use "contracts", I get the first entry only when there is just a single element in the array, "[]" if the array is empty and for records with multiple elements in the array I get nothing.
If I use contracts[*].url, I get nothing for any records.
If I use contracts[0].url, I get the first element for records that have elements. And I can use other integers to access other elements. But I can't get all of them.