json-pp-rust

Crates.iojson-pp-rust
lib.rsjson-pp-rust
version0.1.0
sourcesrc
created_at2022-01-21 10:52:20.577759
updated_at2022-01-21 10:52:20.577759
descriptionReads a string from `stdin` parses it as json and prints it out as a pretty json string.
homepagehttps://github.com/Trust-NICKOL/json-pp-rust
repositoryhttps://github.com/Trust-NICKOL/json-pp-rust
max_upload_size
id518461
size4,799
Alexander Nickol (a-nickol)

documentation

https://github.com/Trust-NICKOL/json-pp-rust

README

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
  ]
}
Commit count: 10

cargo fmt