jmhodges/jsonpp

Reformat file with replacement

Anton-V-K opened this issue · 1 comments

It would be handy to reformat (pretty print) a file 'into itself', i.e. reformat it.
So instead of several commands like

jsonpp data.json > data-tmp.json
rename data-tmp.json data.json
delete data-tmp.json

I would need only one command like jsonpp -f data.json.