JSON Element (PRIM_WEB.JsonElement)

Base JSON element

Ancestors - Object (PRIM_OBJT)

Details

A JSON element is the most basic form of element and the base class for all other element types.

Properties

NameDescription
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
IndexIndex of the element
ItemAccess a specific element
ItemAtAccess a specific child element
ItemCountNumber of child elements
KeyKey of the element
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe 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)
ParentItemReference to the parent element
TypeType of element e.g. Array, number, string etc.

Events

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

Methods

NameDescription
AsBooleanReturn the element as a Boolean
Result
AsNumberReturn the element as a number
Result
AsStringReturn the element as a string
Result
CreateIteratorCreateIterator method creates an iterator component that enables iteration through the collection
Result
RemoveRemove the element
Result, Key
RemoveAllRemove all child elements
RemoveAtRemove a specific element
Result, Index

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2