JSON (PRIM_WEB.Json)

JSON object

Ancestors - Object (PRIM_OBJT)

Details

The JSON object is the LANSA implementation of the JavaScript JSON object.

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)
IsValidReturns true if the JSON is correctly formed
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)
RootItemFirst element in the JSON
TextJSON as a string

Events

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

Methods

NameDescription
CreateRootArrayCreate an array as the root
Result
CreateRootObjectCreate a JSON object as the root
Result

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2