Open Laxmikantwagh25 opened 9 months ago
The editor by default loads JSON with the root object or array expanded. With the methods .expand(options)
or .expandAll()
you can expand more.
See docs: https://github.com/josdejong/jsoneditor/blob/develop/docs/api.md
I am loading/passing a JSON to jsoneditor on button click, but JSON is showing in collapsed and not expanded. I want to display the JSON in expanded automatically after loading/passing json to json editor.
How to achieve this?
Thanks, in advance.