OVMS3/OVMS.V3/components/duktape/tools/yaml2json.py

5 lines
99 B
Python
Raw Normal View History

import os, sys, json, yaml
if __name__ == '__main__':
print(json.dumps(yaml.load(sys.stdin)))