Jsoneditor: [Feature request] API to get JSON-formatted JSON document

Created on 21 Jan 2020  路  2Comments  路  Source: josdejong/jsoneditor

I am using JSON Editor Online to collaboratively work on JSON documents and need a way to programmatically consume that data.

I would like to be able to get the JSON doc, in JSON format, via an API call. I have found https://jsoneditoronline.herokuapp.com/v1/docs/{id}, but this returns the data in a format that requires some cleaning.

It would be super helpful if there was an endpoint I could use to get a JSON-formatted response of the document ID I supply. Perhaps by supplying an additional query param eg. https://jsoneditoronline.herokuapp.com/v1/docs/{id}?json=true ?

Thanks for building and hosting this

question

Most helpful comment

Thanks baebb :)

There is an unofficial API call https://jsoneditoronline.herokuapp.com/v1/docs/{id}/data to do what you want. Please note that this is an unofficial API and should not be used in production but only for development purposes.

All 2 comments

Thanks baebb :)

There is an unofficial API call https://jsoneditoronline.herokuapp.com/v1/docs/{id}/data to do what you want. Please note that this is an unofficial API and should not be used in production but only for development purposes.

Thanks a lot 馃檹

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ricardogaspar2 picture ricardogaspar2  路  3Comments

sergibondarenko picture sergibondarenko  路  4Comments

jaunt picture jaunt  路  4Comments

hoogw picture hoogw  路  6Comments

safaorhan picture safaorhan  路  5Comments