Crates.io | jrf |
lib.rs | jrf |
version | 0.0.2 |
source | src |
created_at | 2019-10-22 16:05:50.932277 |
updated_at | 2019-11-02 15:57:28.118986 |
description | An underpowered JSON formatting cli |
homepage | |
repository | https://github.com/peterheesterman/jrf |
max_upload_size | |
id | 174699 |
size | 3,367 |
JSON formatter cli - something simple to use jsonist https://github.com/peterheesterman/jsonist
Much less useful than jq - also a lot simpler!
Cargo installed already? cargo install jrf
If not... find out how to install cargo!
jrf file_to_format.json
// file_to_format.json
{ "Key of an obect": ["some", "values", "in", "a", "list"] }
// file_to_format.json
{
"Key of an obect": [
"some",
"values",
"in",
"a",
"list"
]
}
I wanted to test this on a really large file so I got one from here https://github.com/zemirco/sf-city-lots-json and it took about 40 seconds on my computer to take this 189.9mb
file and format it into a 561mb
monster.