https://github.com/rofrol/rust-json-pretty-format
https://github.com/rofrol/rust-json-pretty-format
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rofrol/rust-json-pretty-format
- Owner: rofrol
- License: other
- Created: 2018-10-26T10:18:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T02:59:51.000Z (over 7 years ago)
- Last Synced: 2025-02-19T07:37:05.724Z (over 1 year ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple json pretty formatter in Rust.
`cargo run -- file.json`
It will write output to `file.pretty.json`.
## Links
- https://stackoverflow.com/questions/31192956/whats-the-de-facto-way-of-reading-and-writing-files-in-rust-1-x
- https://github.com/serde-rs/json/issues/144#issuecomment-242877324
- https://stackoverflow.com/questions/42722169/generate-pretty-indented-json-with-serde