Crates.io | gn |
lib.rs | gn |
version | 0.1.5 |
source | src |
created_at | 2022-08-14 10:28:27.317574 |
updated_at | 2022-09-19 05:03:58.662273 |
description | A gron-like tool made in Rust |
homepage | |
repository | https://github.com/masinc/gn |
max_upload_size | |
id | 645346 |
size | 49,504 |
A gron-like tool made in Rust.
Support format for JSON, JSON5, YAML and TOML.
Inspired by gron
This reads FILEPATH and outputs it in gron format.
gn <FILEPATH>
If there is no argument or "-", it reads from stdin.
cat Cargo.toml | gn
To determine the format, first try to determine by extension. Next, if it cannot be determined by extension, it attempts to deserialize to each format.
MIT or Apache-2.0