Skip to content

An alternative jq implementation in rust for continuous parsing without crashing on invalid JSON

License

Notifications You must be signed in to change notification settings

anjali29singh/livejq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

livejq.mp4

Install

Install using cargo

cargo install livejq

or you can find linux binary in the release page

Usage

./my_program | livejq

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

Example

example

About

An alternative jq implementation in rust for continuous parsing without crashing on invalid JSON

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%