LiveJQ

livejq is JSON parser like jq but is designed to work in continuous input without crashing on invalid JSON

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

Demo

https://github.com/KunalSin9h/livejq/assets/82411321/1c9438ed-914a-4026-912a-e85d05d36c70

Install

Install using cargo bash cargo install livejq

or you can find binary in the Release page

Usage

bash ./my_program | livejq

Here | is for piping output of my_program into livejq as input.

Example

example