JSONPath - Is there any way to get the parent node of JSONPath?

Viewed 35

For a JSONPath expression $.event.data.name, I need to get $.event. Is there any way to get this in PHP other than using regular expressions?

0 Answers
Related