tileoven/yaml2mml.py

4 lines
104 B
Python

#!/usr/bin/env python
import sys, yaml, json
json.dump(yaml.safe_load(sys.stdin), sys.stdout, indent=2)