News for hackers. Stuff that matters.
Re:jc – JSONifies the output of many CLI tools by bonzini on Thursday November 03, 2022 @09:04AM (#33450332)
> In my opinion, something formatted with pipes, quotes and spaces would be better:

Just pipe it into a JSON-to-YAML script like this:

    #! /usr/bin/python3
    from ruamel import yaml
    import json, sys, io
    print(yaml.dump(json.load(sys.stdin)))

There are no comments on this comment yet.