Crates.io | json-pp-rust |
lib.rs | json-pp-rust |
version | 0.1.0 |
source | src |
created_at | 2022-01-21 10:52:20.577759 |
updated_at | 2022-01-21 10:52:20.577759 |
description | Reads a string from `stdin` parses it as json and prints it out as a pretty json string. |
homepage | https://github.com/Trust-NICKOL/json-pp-rust |
repository | https://github.com/Trust-NICKOL/json-pp-rust |
max_upload_size | |
id | 518461 |
size | 4,799 |
Faster alternative to json-pp
written in Rust, using serde-json.
Reads a string from stdin
parses it as json and prints it out as a pretty json string.
cargo install json-pp-rust
$ echo "{\"hello\": [\"world\", \"json\", 10]}" | json-pp-rust
{
"hello": [
"world",
"json",
10
]
}