Bixby Developer Center

References

JSON Layout (JsonLayout)

The JSON object representing the HTML of the layout.

Note that any child in this JSON tree can also be a Dialog component.

Properties

This section describes the properties of JsonLayout.

JsonElement

JSON Element. Interface representing the HTML content sections of a layout, namely header and content elements.

JsonElement contains the following properties:

Attribute

The attributes of the parent HTML element.

Type (within JsonElement)

The tag name of the main HTML element. For example, the listed type can be div.

Children

The children elements of the given JsonElement. The children can be a JsonElement, a JsonElement array (JsonElement[]), or a dialog fragment.

formBindings

[Optional] If your layout is a form, any bindings that are associated in this layout.

style

[Optional] Style being used in the layout.

submitRequired

Boolean. Returns true if a submit is required to access this layout.

type

The layout type. The type can be either layout or text.