3 ms·
> 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
by bonzini 4y ago
> 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)))