Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taimoorzaeem/aeson-jsonpath
Parse and run JSONPath queries on Data.Aeson
https://github.com/taimoorzaeem/aeson-jsonpath
haskell jsonpath
Last synced: about 1 month ago
JSON representation
Parse and run JSONPath queries on Data.Aeson
- Host: GitHub
- URL: https://github.com/taimoorzaeem/aeson-jsonpath
- Owner: taimoorzaeem
- License: mit
- Created: 2024-12-15T11:54:44.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-17T12:54:47.000Z (about 1 month ago)
- Last Synced: 2024-12-17T13:37:45.398Z (about 1 month ago)
- Topics: haskell, jsonpath
- Language: Haskell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# aeson-jsonpath
![ci-badge](https://github.com/taimoorzaeem/aeson-jsonpath/actions/workflows/haskell.yml/badge.svg?event=push)
Run [RFC 9535](https://www.rfc-editor.org/rfc/rfc9535) compliant JSONPath queries on [Data.Aeson](https://hackage.haskell.org/package/aeson).
## Roadmap
- [ ] Selectors
- [x] Name Selector
- [x] Index Selector
- [x] Slice Selector
- [x] Wildcard Selector
- [ ] Filter Selector
- [ ] Segments
- [x] Child Segment
- [ ] Descendant Segment
- [ ] Function Extensions## Usage
```haskell
import Data.Aeson.JSONPath (runJSPQuery)let rootDoc = runJSPQuery "$" jsonDoc -- returns the root object
```## Development
The project is unreleased. Contributions are welcomed.