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

Hi, I am trying to get perticular key value pair from json. Example: ``` { "store": { "book": [ { "category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century",...

A feature that the [Jayway JsonPath](https://github.com/json-path/JsonPath) parser has that is very useful is being able to select a subset of fields within a JSON object. Using the Goessner example here:...

Hello, I've noticed that filters don't work when object is an array: ```javascript const jp = require('jsonpath'); const doesntWork = JSON.parse( `[ {"test": "test1"}, {"test": "test2"} ]`); const works =...

https://github.com/dchester/jsonpath/blob/778bc1ea297309e5925910698bb8ead9369d2e55/jsonpath.js#L4695 Noticed when updating from jsonpath 1.0.1 to 1.0.2. The `browser` field of `package.json` in 1.0.2 is different, which for my build resulted in `jsonpath.js` being loaded instead of `lib/index.js`,...

Since upgrading to 1.0.1 from npmjs the following snippet creates an error, which used to work import * as jp from "jsonpath"; jp.query(mapObj.mapData.source, "$..authentication.type"); where mapObj.mapData.source is a json obj....

Hi, the jison project seems to be dead. Please switch your dependency to a fork, i.e. jison-gho. jison uses [email protected] and this package no longer supported. Best regards, Hans

from https://github.com/IBM-Bluemix/gp-js-flatten/issues/18 by @JCEmmons > According to http://goessner.net/articles/JsonPath/ , bracket notation for a given path uses single quote, not double quote. Would it be possible to have an option (or...

as compared to `$.owners[*].firstName`, it works on http://jsonpath.herokuapp.com/?path=$..author `$.owners.[*].firstName` VS `$.owners[*].firstName`

Setting non-browser modules to false, fixes the error of unresolved 'fs' module.

Currently there is a vulnerability in static-eval that has been fixed with this pull request https://github.com/substack/static-eval/pull/21. Once pull request this has been merged a new version of jsonpath will be...