BSD-3-Clause licensed by Akshay Mankar
This version can be pinned in stack with:jsonpath-0.2.0.0@sha256:de8eba99a0a970ea1c82b934ccc338f3b5d3fe8273f9196f368ca7bfcf680434,2195
Module documentation for 0.2.0.0
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 for length
key 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.
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.
Changelog for jsonpath-hs
v0.2.0.0
- BreakingChange: Fix typo in
BeginningPoint
.
- Fix typo in parser error.
v0.1.0.2
- Remove upper bounds from dependencies, as most of them are quite stable packages.
v0.1.0.1
- Import Data.Semigroup to support GHC 8.
- Add test json files to make sure test sdist compile and runs.
v0.1.0.0
Unreleased changes