1 unstable release

0.1.0 Oct 13, 2023

#2285 in Parser implementations

MIT license

76KB
120 lines

Flatr

Prints JSON files in a flat format.

This is a rust rewrite of the catj tool.

Demo of usage

Usage

flatr --file my-file.json

Build

git clone https://github.com/jfvillablanca/flatr
cd flatr
cargo build --release
./target/release/flatr --help

Install

cargo install flatr

Build with Nix

nix build github:jfvillablanca/flatr

Run with Nix

nix run github:jfvillablanca/flatr -- -f my-file.json

Motivation

I'm currently learning rust :).

Dependencies

~3–13MB
~122K SLoC