Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load/save from url, upload/download to disk #11

Closed
josdejong opened this issue Sep 21, 2012 · 2 comments
Closed

Load/save from url, upload/download to disk #11

josdejong opened this issue Sep 21, 2012 · 2 comments
Labels

Comments

@josdejong
Copy link
Owner

It would be useful to be able to load and save JSON documents:

  • load: get from url. Url can be entered via a menu in the editor, as well as as a query parameter in the url of the web application.
  • save: post to url
  • load: upload from disk (both using HTML5 FileReader API and some php uploader)
  • save: download to disk

Obviously loading/saving to an url may need authorization. This will also enable github integration (issue #1).

@josdejong
Copy link
Owner Author

Implemented in version 1.6.0

@josdejong
Copy link
Owner Author

It's not yet documented anywhere, but there is a query parameter url available to directly load a url, for example to load the following data url:

https://gdata.youtube.com/feeds/api/videos?q=football&alt=json

one can provide this (encoded) url on the jsoneditoronline website:

http://jsoneditoronline.org/?url=https%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fapi%2Fvideos%3Fq%3Dfootball%26alt%3Djson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant