Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

monster.ui.getJsoneditor()#

Syntax#

monster.ui.getJsoneditor(target)

Parameters#

Key Description Type Default Required
target The JSON Editor widget container. jQuery true

Return#

An instance of the JSONEditor or null if the editor's container does not exist.

Description#

The monster.ui.getJsoneditor() method provides access to the editor's instance from the DOM using the target parameter, which is the JSONEditor container. This method returns the JSONEditor instance.

To get the JSONEditor, you just need to pass the target parameter:

// Editor's container
var $target = $('#jsoneditor');

var jsoneditor = monster.ui.getJsoneditor($target)