It doesn't matter if you ask for json or json_pretty.
I use this command to perform some operations with bash scripting, and it would be nice and safer to be able to parse output with some json library instead of plain sed/awk commands.
You can sort of reverse engineer how this is handled for other commands if you feel like making an attempt to try to implement this enhancement yourself (and submit it as a PR):
It doesn't matter if you ask for json or json_pretty.
I use this command to perform some operations with bash scripting, and it would be nice and safer to be able to parse output with some json library instead of plain sed/awk commands.
Regards