1 unstable release
0.1.0 | Jan 21, 2022 |
---|
#19 in #parses
3KB
json-pp-rust
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.
Installation
cargo install json-pp-rust
Usage
$ echo "{\"hello\": [\"world\", \"json\", 10]}" | json-pp-rust
{
"hello": [
"world",
"json",
10
]
}
Dependencies
~0.5–0.9MB
~19K SLoC