DataStays

JSON to YAML

Emit a readable YAML document from JSON — useful for hand-writing a config by shaping the data as JSON first. Strings that look like numbers or booleans get quoted so YAML doesn't reinterpret them. The JSON is parsed as values first, so very large integers follow the normal JavaScript precision caveat.