jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

Query and manipulate JavaScript objects with JSONPath expressions. Robust JSONPath engine for Node.js.

Results 102 jsonpath issues
Sort by recently updated
recently updated
newest added

Unable to use jsonpath in react-native environment because of dependency on fs. Is it possible to remove this dependency?

How can I get keys from a json object ```js let data = { "key1": "value1", "key2": "value2", "key3": "value3", "key4": { "key5": "value5" } } jp.query(data, '$.*~'); ``` result:...

Hi, thanks for great library. Exactly what I was looking for. Would it be feasible to pass a config like 'unique' to the query to get the unique results from...

Hi Guys, I am not sure if they should, but documentation directly doesn't explain this. My Case: { "store": { "book": [ { "category": [ {"reference": "referenceV1"}, {"reference": "referenceV2"} ],...

Consider paths object as ```js let paths= [{ "expression": { "type": "identifier", "value": "parentKey" }, "scope": "child", "operation": "member" }, { "expression": { "type": "union", "value": [{ "expression": { "type":...

Hey thanks for the awesome library. I'm sending a PR adding functionality where variables and functions can now be injected into the expression scope like so: jsonpath.scope({foo:'bar',parseInt:parseInt}) This is so...

const cities = [ { name: "London", "population": 8615246 }, { name: "Berlin", "population": 3517424 }, { name: "Madrid", "population": 3165235 }, { name: "Rome", "population": 2870528 } ]; Can...

[This package](https://www.jsdelivr.com/package/npm/jsonpath) doesn't have a [default file](https://www.jsdelivr.com/features#publishing-packages) set. You can set it via `jsdelivr`, `browser`, or `main` field in `package.json`

Hi, I can not install this package globally even though running the command in sudo privilege.

All tests pass. Note, when trying to upgrade to Esprima 3: ``` Error: Line 1: Unexpected token ILLEGAL at ErrorHandler.constructError (lib/aesprim.js:3378:22) at ErrorHandler.createError (lib/aesprim.js:3396:27) at ErrorHandler.throwError (lib/aesprim.js:3404:21) at Scanner.throwUnexpectedToken (lib/aesprim.js:3487:28)...