sachaos / jl

Convert to JSON Lines from STDOUT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jl (JSON by line)

Convert to JSON Lines 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

$ git clone https://github.com/sachaos/jl.git
$ cd jl
$ go install

About

Convert to JSON Lines from STDOUT.

License:MIT License


Languages

Language:Go 100.0%