JSON Object (PRIM_WEB.JsonObject)

Object element

Ancestors - JSON Element (PRIM_WEB.JsonElement)Object (PRIM_OBJT)

Details

Object JSON element.

Properties

Name

Description

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

Index

Index of the element Inherited from JSON Element (PRIM_WEB.JsonElement)

Item

Access a specific element Inherited from JSON Element (PRIM_WEB.JsonElement)

ItemAt

Access a specific child element Inherited from JSON Element (PRIM_WEB.JsonElement)

ItemCount

Number of child elements Inherited from JSON Element (PRIM_WEB.JsonElement)

Key

Key of the element Inherited from JSON Element (PRIM_WEB.JsonElement)

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

ParentItem

Reference to the parent element Inherited from JSON Element (PRIM_WEB.JsonElement)

Type

Type of element e.g. Array, number, string etc. Inherited from JSON Element (PRIM_WEB.JsonElement)

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from JSON Element (PRIM_WEB.JsonElement)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from JSON Element (PRIM_WEB.JsonElement)

Methods

Name

Description

AsBoolean

Return the element as a Boolean Inherited from JSON Element (PRIM_WEB.JsonElement)

Result

AsNumber

Return the element as a number Inherited from JSON Element (PRIM_WEB.JsonElement)

Result

AsString

Return the element as a string Inherited from JSON Element (PRIM_WEB.JsonElement)

Result

CreateIterator

CreateIterator method creates an iterator component that enables iteration through the collection Inherited from JSON Element (PRIM_WEB.JsonElement)

Result

InsertArray

Add an array element

Result, Key

InsertBoolean

Add a Boolean element

Result, Key, Boolean

InsertNull

Add a null element

Result, Key

InsertNumber

Add a number element

Result, Key, Number

InsertObject

Add an object element

Result, Key

InsertString

Add a string element

Result, Key, String

Remove

Remove the element Inherited from JSON Element (PRIM_WEB.JsonElement)

Result, Key

RemoveAll

Remove all child elements Inherited from JSON Element (PRIM_WEB.JsonElement)

RemoveAt

Remove a specific element Inherited from JSON Element (PRIM_WEB.JsonElement)

Result, Index


See also

All Component Classes

Technical Reference

  • No labels