APIs

Show:

BlockJson is a Player block that is used as base class for all JSON based components it allows for parsing of JSON data and is supported with the JSON Item inside scenes

The setup sequence is:

  1. Constructor of the child, which calls super on base
  2. Constructor of the base, which calls init on base
  3. Initialize of the base
  4. Initialize of the child
  5. Instance is ready

Constructor

BlockJson

() Object

Returns:

Object:

instantiated BlockJson

Methods

_populate

()

Populate the common properties UI

_showJsonPaths

()

Show the JSON URL and JSON Object paths inputs for the JSON component only

_updateTitleTab

()

Update the title of the selected tab properties element and also show the sub tab for Settings of Json sub components (world weather, Calendar etc...)

initialize

()

Init sub class and super on base