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

I am trying to do a LIKE search and everything is pointing towards using contains() in xpath. I already have a 'name' element which returns fine when I run '$..name'....

Hi, I have an array of this type of object: ``` [ { "guid": "18463E1E-B56C-9B99-C0BE-924DC2669333", "type": "CONNECTOR", "info": { "destination": { "ipAddress": "xxx.xxx.xxx.xxx" }, "protocol": { "ip": "tcp" }, "port":...

```javascript let data = { "2010": { "shape": { "x": 10, "y": 11 }, "weight": 10 }, "2011": { "shape": { "x": 111, "y": 111 }, "weight": 111 }, "2012":...

when i have a data structure like { city1: ['BJ'], city2: 'BJ' } when i use jsonpath to get the json value, $.city1 it will return ['BJ'] $.city2 it will...

Objects created using `Object.create( null )` aren't per-se instances of Object, these can be nested inside an existing structure unknown to the enduser causing the query to fail without any...

Readme says usage is as follows ``` var jp = require('jsonpath'); var names = jp.query(cities, '$..name'); ``` wondering how do I make the same work with ES6 style e.g. something...

My project uses an original JSONPath JavaScript implementation from https://code.google.com/archive/p/jsonpath, but I tried to start using `jsonpath` and failed due to unexpected Lexical Error, while trying to read value from...

``` > webpack Hash: 31c70c39b24e448aa6bd Version: webpack 3.8.1 Time: 1570ms Asset Size Chunks Chunk Names index.js 517 kB 0 [emitted] [big] main [0] (webpack)/buildin/module.js 495 bytes {0} [built] [1] (webpack)/buildin/global.js...

The original jsonpath "specification" seems a bit ambiguous on what `@` should be bound to when a child script filter (i.e. `[?(...)]`) is applied to a member that contains a...

Hi, Given a structure like this: ```json [ { "id": 1, "tags": ["foo","bar"] }, { "id": 2, "tags": ["bar","zot"] } ] ``` How can I do a selection that selects...