Closed vasan-agrostar closed 1 month ago
The ThunderClient array indexing tricks all have JSONPATH equivalents. Since we don't evaluate the path within zzAPI ourselves and rely only on jsonpath, we can only support what jsonpath does.
Take, for example, this ThunderClient example:
json.items[type$="Food"].type
Using JSON path, this is what you would do to achieve the same:
$.items[?(@.type.endsWith('Food'))].type
Thanks for this information. 💪 I'll read more about JSONPath.
Resources you may find useful:
Forked off from issue #3