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

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)

Depth

Gets the depth of the current token in the JSON document

LineNumber

Gets the line number of the current token in the JSON document

LinePosition

Gets the position on the current line of the current token in the JSON document

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)

TextReader

Gets or sets a reference to a TextReader component that provides the serialized JSON data to be read

TokenNumberType

Gets the Number type of the current JSON token

TokenText

Gets the text of the current JSON token as a unicode string

TokenType

Gets the type of the current JSON token

TokenValueType

Gets the Value type of the current JSON token

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created [Inherited from PRIM_JSON.Reader (PRIM_JSON.Reader)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed [Inherited from PRIM_JSON.Reader (PRIM_JSON.Reader)

Methods

Name

Description

Read

Reads the next JSON token from the source

Result

Skip

Skips the children of the current token

TokenAsBase16

Converts the current token to a binary string by decoding the token's sequence of Base16/Hexadecimal characters

Result

TokenAsBase64

Converts the current token to a binary string by decoding the token's sequence of Base64 characters

Result

TokenAsBoolean

Converts the current token to a Boolean value

Result

TokenAsDate

Converts the current token to a Date value

Result, Format

TokenAsDateTime

Converts the current token to a datetime value

Result, Format

TokenAsDecimal

Converts the current token to a Decimal value

Result

TokenAsFloat64

Converts the current token to a 64-bit floating point value

Result

TokenAsInt32

Converts the current token to a 32-bit integer value

Result

TokenAsInt64

Converts the current token to a 64-bit integer value

Result

TokenAsName

Obtains a name value as a unicode string from the current token

Result

TokenAsString

Converts the current token to a unicode string value

Result

TokenAsTime

Converts the current token to a Time value

Result, Format

TokenIsDate

Checks if the current token can be converted to a Date value

Result, Format

TokenIsDateTime

Checks if the current token can be converted to a datetime value

Result, Format

TokenIsTime

Checks if the current token can be converted to a Time value

Result, Format


See also

All Component Classes

Technical Reference