jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

Ruby implementation of http://goessner.net/articles/JsonPath/

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

@cburgmer's JSONPath comparison project is currently discussing some [issues](https://github.com/cburgmer/json-path-comparison/issues?q=is%3Aissue+is%3Aopen+label%3A%22Proposal+A%22) relating to a proposed implementation of JSONPath known as "Proposal A". May I encourage you to get involved if you are...

The following queries provide results that do not match those of other implementations of JSONPath (compare https://cburgmer.github.io/json-path-comparison/): - [ ] `$[1:3]` Input: ``` {":": 42, "more": "string", "a": 1, "b":...

Hi @Skarlso, Thanks for the great library! My particular application uses the `gsub` function and I am really missing the ability to record or operate on the path to the...

JSONPath: $.response.sample.ids.length Object: `{ "response": { "sample": { "ids": [ 1146 ] } } }` Result: [] Expected: [1] This returns empty array, it should have returned the count of...

The version of minitest shipped with ruby3.3 yields an error with the old namespace 'MiniTest'. This change proposes to replace to the 'Minitest' convention.

This is an attempt to test against https://github.com/jsonpath-standard/jsonpath-compliance-test-suite Related to https://github.com/joshbuddy/jsonpath/issues/173

Fix issue #171

Running this code in the Test environment will result in a TypeError. `JsonPath.for(@object).gsub('$..*[?(@.category=="fiction")]') { |v| v }.to_hash`

I just updated some minor things: - removed unmaintained Ruby version 3.0 - used latest actions/checkout version @v4