| Crates.io | json2str |
| lib.rs | json2str |
| version | 0.1.1 |
| created_at | 2024-11-16 02:39:41.740283+00 |
| updated_at | 2024-11-16 02:44:28.1034+00 |
| description | A simple CLI tool to read a JSON file and get back it as a quoted string |
| homepage | |
| repository | https://github.com/signaes/json2str |
| max_upload_size | |
| id | 1449824 |
| size | 4,702 |
Some times all you need is getting a quoted string from a JSON file, for this you can cargo install json2str, and then supposing you have a json file named sample.json with this content:
{
"test": true
}
Running:
json2str sample.json
Should give you:
"{\"test\":true}"