I am looking for a way to parse a JSON file for a specific node and get that node’s line number in the file. I would like to use the Jayway JSONPath library to support extended JSONPath queries. For example (from jsonpath.com), here’s some JSON: and here’s a jsonPath: $.phoneNumbers.[?(@.type==’iPhone’)] I would like to have a way to say that