requireListPath

Utility method to cast a JsonPath of unknown type, e.g. from a JsonPath.parse to the required type.

i.e. The first component of the returned JsonPath should be applicable to JSON arrays.