mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
201 B
5 lines
201 B
import os, sys, json, yaml
|
|
|
|
if __name__ == '__main__':
|
|
# Use safe_dump() instead of dump() to avoid tags like "!!python/unicode"
|
|
print(yaml.safe_dump(json.load(sys.stdin), default_flow_style=False))
|
|
|