coolaj86 / json2yaml

A command-line utility to convert a JSON file (.json) to YAML (.yml)
Apache License 2.0
87 stars 37 forks source link

allow jsontoyaml.com to get JSON from a url #6

Open coolaj86 opened 11 years ago

coolaj86 commented 11 years ago

way good idea

rjmunro commented 8 years ago

No, that is what curl is for:

curl https://raw.githubusercontent.com/coolaj86/json2yaml/master/example.json | json2yaml

At the moment, this can fail if the site is slow to respond, due to https://github.com/coolaj86/json2yaml/pull/11