https://github.com/sachaos/jl
Convert to JSON Lines from STDOUT.
https://github.com/sachaos/jl
jq json tsv unix
Last synced: about 2 months ago
JSON representation
Convert to JSON Lines from STDOUT.
- Host: GitHub
- URL: https://github.com/sachaos/jl
- Owner: sachaos
- License: mit
- Created: 2020-09-19T19:59:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-19T20:11:32.000Z (almost 6 years ago)
- Last Synced: 2025-11-23T20:03:34.172Z (7 months ago)
- Topics: jq, json, tsv, unix
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jl (JSON by line)
Convert to [JSON Lines](https://jsonlines.org/) from STDOUT.
The main purpose is pre-process output from UNIX command to query by jq.
## Example
```
$ ps aux | jl --header | jq -r ".USER" | sort | uniq
...
root
sachaos
```
## Install
```shell
$ git clone https://github.com/sachaos/jl.git
$ cd jl
$ go install
```