PRIM_JSON.Reader (PRIM_JSON.Reader)

Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data

Ancestors - Object (PRIM_OBJT)

Details

No detailed help is available for this feature

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)
DepthGets the depth of the current token in the JSON document
LineNumberGets the line number of the current token in the JSON document
LinePositionGets the position on the current line of the current token in the JSON document
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)
TextReaderGets or sets a reference to a TextReader component that provides the serialized JSON data to be read
TokenNumberTypeGets the Number type of the current JSON token
TokenTextGets the text of the current JSON token as a unicode string
TokenTypeGets the type of the current JSON token
TokenValueTypeGets the Value type of the current JSON token

Events

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

Methods

NameDescription
ReadReads the next JSON token from the source
Result
SkipSkips the children of the current token
TokenAsBase16Converts the current token to a binary string by decoding the token's sequence of Base16/Hexadecimal characters
Result
TokenAsBase64Converts the current token to a binary string by decoding the token's sequence of Base64 characters
Result
TokenAsBooleanConverts the current token to a Boolean value
Result
TokenAsDateConverts the current token to a Date value
Result, Format
TokenAsDateTimeConverts the current token to a datetime value
Result, Format
TokenAsDecimalConverts the current token to a Decimal value
Result
TokenAsFloat64Converts the current token to a 64-bit floating point value
Result
TokenAsInt32Converts the current token to a 32-bit integer value
Result
TokenAsInt64Converts the current token to a 64-bit integer value
Result
TokenAsNameObtains a name value as a unicode string from the current token
Result
TokenAsStringConverts the current token to a unicode string value
Result
TokenAsTimeConverts the current token to a Time value
Result, Format
TokenIsDateChecks if the current token can be converted to a Date value
Result, Format
TokenIsDateTimeChecks if the current token can be converted to a datetime value
Result, Format
TokenIsTimeChecks if the current token can be converted to a Time value
Result, Format

See also

All Component Classes

Technical Reference