livejq
is JSON parser like jq
but is designed to work in continuous input without crashing on invalid JSON
livejq
to parse JSON without crashing on other formats.It works on one assumption that the JSON is a single string like '{ "name": "Kunal Singh", "age": 21 }'
.
This is a limitation, but will be fixed in future
https://github.com/KunalSin9h/livejq/assets/82411321/1c9438ed-914a-4026-912a-e85d05d36c70
Install using cargo
bash
cargo install livejq
binaries
in the Release pagebash
./my_program | livejq
Here
|
is for piping output ofmy_program
intolivejq
as input.