Jsoneditor: How to load saved json in raw format instead of opening editor?

Created on 10 Mar 2017  路  3Comments  路  Source: josdejong/jsoneditor

I saved some json.

Is there a way to share the json via url without causing editor to open? Just to serve json to a remote app or to share json code without enabling editing

question

Most helpful comment

You can fetch the data of a stored document like:

http://api.jsoneditoronline.org/v1/docs/:id/data

where you replace :id with the id of your document.

Be careful though, use this only for development, not for production. All documents are public and can theoretically be edited/deleted by anyone with the url.

All 3 comments

You can fetch the data of a stored document like:

http://api.jsoneditoronline.org/v1/docs/:id/data

where you replace :id with the id of your document.

Be careful though, use this only for development, not for production. All documents are public and can theoretically be edited/deleted by anyone with the url.

Thanks for replying, and for warnings.

You're welcome :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hoogw picture hoogw  路  6Comments

guiferrpereira picture guiferrpereira  路  6Comments

jaunt picture jaunt  路  4Comments

sergibondarenko picture sergibondarenko  路  4Comments

fyyyyy picture fyyyyy  路  8Comments