I can confirm, this is still broken. In my output, I'm missing the leading and trailing square bracket. Also, between some stanzas there are close and open curly braces (on the same line) without a comma in between.
Since those are the only two syntactical errors in the output I'm working with, this simple one-liner works around it: (echo "["; lshw -json -C network | sed 's/} .*{/}, {/'; echo "]") | jq . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1405873 Title: -json output not valid when -class filter used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1405873/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs