Open samurex opened 8 years ago
Hello! example I have json: [ {"first": "1"}, {"second": "1"} ] I want to parse all the items in the array, I tried '$[*]' as a JSONPath but didnt work, any idea:) ?
just use "*" as the path.
"*"
And you can use $* if you have a mixture and want the keys as well. ;)
$*
Using * as the path works, but $* isn't working for me. I need to know the integer key of the items.
*
Hello! example I have json: [ {"first": "1"}, {"second": "1"} ] I want to parse all the items in the array, I tried '$[*]' as a JSONPath but didnt work, any idea:) ?