Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prillan/haskell-jsontools
A collection of commandline tools for working with json data.
https://github.com/prillan/haskell-jsontools
Last synced: 15 days ago
JSON representation
A collection of commandline tools for working with json data.
- Host: GitHub
- URL: https://github.com/prillan/haskell-jsontools
- Owner: Prillan
- License: bsd-3-clause
- Created: 2015-12-11T19:48:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-15T14:25:00.000Z (almost 8 years ago)
- Last Synced: 2024-10-28T00:21:27.203Z (2 months ago)
- Language: Haskell
- Size: 35.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsontools
[![Build Status](https://travis-ci.org/Prillan/haskell-jsontools.png)](https://travis-ci.org/Prillan/haskell-jsontools)
## Installation
If you have `stack` installed, just run```
git clone https://github.com/Prillan/haskell-jsontools.git
cd haskell-jsontools# Download and install GHC
stack setup# Build and install
stack install
```### jgrep
A tool similar to `grep` for searching json files.```
Usage: jgrep EXPRESSION [-v]Available options:
-h,--help Show this help text
EXPRESSION Expression
-v Verbose
```TODO: Add example
### jextract
Extract json data.```
Usage: jextract EXPR [-f|--flat] [-p|--pretty-print] [-v|--values-only] [FILE]Available options:
-h,--help Show this help text
EXPR Projection glob
-f,--flat Flatten result
-p,--pretty-print Pretty print result
-v,--values-only Output just values
FILE Input file
```TODO: Add example