/ui/locations/entries/json

The json layer entry module exports a default method to add a jsoneditor control to the location view.

Requires

Methods

(inner) json(entry) → {HTMLElement}

The json location entry method creates a jsoneditor control with data from either the entry newValue or value.

Parameters:
NameTypeDescription
entryinfoj-entry

type:json entry.

Returns:

The entry node containing a jsoneditor control.

Type: 
HTMLElement