Class: JsonEditorService

JsonEditorService()

Service to manage the JSON editor instance and its interactions with the scene

Constructor

new JsonEditorService()

Source:

Methods

cleanup()

Clean up the editor instance

Source:

handleEditorChange()

Handle changes in the editor content

Source:

initialize()

Initialize the JSON editor with the given content

Source:

updateContent(content, oldContentopt)

Update the editor's content, optionally highlighting changes

Parameters:
Name Type Attributes Description
content string

New content for the editor

oldContent string <optional>

Previous content for diff calculation

Source: