https://github.com/lyonel/lshw/tree/B.02.18 outputs valid json with
lshw -json -quiet though it does have the problem described in https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1593233 i.e. can only run as root, and crashes otherwise. Using git bisect, the change that broke output was https://github.com/lyonel/lshw/pull/28 See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929206 ** Bug watch added: Debian Bug tracker #929206 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929206 -- 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