Feature request: support JSON as alternative pacmd output format
pacmd is great and useful for all kinds of simple scripts, but since its output format for commands like
pacmd list-sinks is an ad-hoc inconsistent plaintext format, lots of people unfortunately end up resorting to hacky and archaic awk/perl/grep scripts to parse this output to get the fields they need.
Nowadays, CLIs for modern tools often provide JSON as an alternative script-friendly output format. This makes it significantly easier to process the data in a structured way, using any of the hundreds of existing wonderful tools and libraries we have for processing JSON.
Ideally the functionality would be enabled using something like