@manico I think you will like the latest releases of the jsoneditor: since v5.20.1 the editor supports being used a controlled component in a framework like React or Vue. There are two new methods update(json) and updateText(text) for this, and two new callback methods onChangeText and onChangeJSON (checkout the docs for details).
You can find two React examples in the examples folder for inspiration:
@manico I think you will like the latest releases of the jsoneditor: since
v5.20.1
the editor supports being used a controlled component in a framework like React or Vue. There are two new methodsupdate(json)
andupdateText(text)
for this, and two new callback methodsonChangeText
andonChangeJSON
(checkout the docs for details).You can find two React examples in the
examples
folder for inspiration:https://github.com/josdejong/jsoneditor/tree/master/examples/react_demo https://github.com/josdejong/jsoneditor/tree/master/examples/react_advanced_demo
Would that be interesting for the
vue-jsoneditor
component as well?