| CARVIEW |
jsonpath: Library to parse and execute JSONPath
Please see the README on GitHub at https://github.com/akshaymankar/jsonpath-hs#readme
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- jsonpath-0.3.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.2.1.0, 0.3.0.0 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson (>=2.0.3), base (>=4.9 && <5), megaparsec, scientific, text (>=1.2), unordered-containers (>=0.2.8), vector (>=0.12) [details] |
| License | BSD-3-Clause |
| Copyright | Akshay Mankar |
| Author | Akshay Mankar |
| Maintainer | itsakshaymankar@gmail.com |
| Uploaded | by axeman at 2022-07-24T07:36:34Z |
| Revised | Revision 1 made by axeman at 2024-10-01T04:15:04Z |
| Category | Text, Web, JSON |
| Home page | https://github.com/akshaymankar/jsonpath-hs#readme |
| Bug tracker | https://github.com/akshaymankar/jsonpath-hs/issues |
| Source repo | head: git clone https://github.com/akshaymankar/jsonpath-hs |
| Distributions | LTSHaskell:0.3.0.0, NixOS:0.3.0.0, Stackage:0.3.0.0 |
| Reverse Dependencies | 3 direct, 2 indirect [details] |
| Downloads | 2862 total (36 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2022-07-24 [all 1 reports] |
Readme for jsonpath-0.3.0.0
[back to package description]jsonpath-hs
Implementation of jsonpath as described by Steffen Göessner.
State of this library
This library is still work in progress, but feel free to use it create issues. It lacks some features and has a few variances from the description.
Missing Features
- The Length funtion: The ability to say
$.length. It will just look forlengthkey as of now. - ScriptExpression: The ability to say things like
$.book[(3+1)]
Variances
- The
$sign in the beginning is not compulsory - The
$..*will not produce the root object itself.
Shout out to JSON-Path-Test-Suite
I have copied a few of the tests from there, I will probably just sub-module the repository if and when the whole test suite is green.
Uses
I am using this library to support GCP authentication in the Kubernetes haskell client.