Extract several JSON objects at different depths with JayWay JSONPath
问题 Situation I have a JSON I'm trying to grab every element in an array that has some particular nested objects. The hard part is that some of these objects are nested at different depths. I'm using JayWay JsonPath https://github.com/json-path/JsonPath, and my code works exactly like https://jsonpath.herokuapp.com This is to use on our platform, https://dashdash.com - a spreadsheet with integrations for known web services (and your private APIs too). Particular case (testable) Consider the