#grep #json #transform #discrete #assignment #github #serde

gron

Gron transforms JSON into discrete assignments to make it easier to grep

4 releases (breaking)

Uses old Rust 2015

0.4.0 May 22, 2017
0.3.0 Feb 27, 2017
0.2.0 Nov 13, 2016
0.1.0 Aug 3, 2016

#25 in #assignment


Used in gerrit-rust

MIT license

17KB
342 lines

Rust-Gron

Credits:gron
API Documentation:
 http://tailhook.github.io/rust-gron/
Format Description:
 in gron docs

Gron transforms JSON into discrete assignments to make it easier to grep for what you want and see the absolute 'path' to it. It eases the exploration of APIs that return large blobs of JSON.

This is a reimplementation of the library in Rust because I need to embed it into a daemon written in rust.


lib.rs:

Convertor of JSON text into gron format

Gron is a representation that is easy to grep. Similarly to JSON it can be easily evaluated with javascript interpreter.

Dependencies

~0.7–1.2MB
~25K SLoC