PRIM_JSON.Writer (PRIM_JSON.Writer)

Represents a writer that provides a fast, non-cached, forward-only way of generating 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)

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)

TextWriter

Gets or sets a reference to a TextWriter component that supports the writing of the serialized JSON data

Events

Name

Description

CreateInstance

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

DestroyInstance

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

Methods

Name

Description

BeginArray

Writes the beginning of a JSON Array

MemberName

BeginObject

Writes the beginning of a JSON Object

MemberName

Close

Closes this writer, auto-completing the JSON data

EndArray

Writes the end of a JSON Array

EndObject

Writes the end of a JSON Object

WriteBase16

Writes a binary string value as a Base16/Hexadecimal encoded value

Value, MemberName

WriteBase64

Writes a binary string value as a Base64 encoded value

Value, MemberName

WriteBlockComment

Writes a JSON block comment

Text

WriteBoolean

Writes a Boolean value

Value, MemberName

WriteDate

Writes a Date value

Value, Format, MemberName

WriteDateTime

Writes a datetime value

Value, Format, MemberName

WriteDecimal

Writes a Decimal value

Value, MemberName

WriteFloat64

Writes a 64-bit floating point value

Value, MemberName

WriteInt32

Writes a 32-bit Integer value

Value, MemberName

WriteInt64

Writes a 64-bit integer value

Value, MemberName

WriteLineComment

Writes a JSON line comment

Text

WriteMemberBoolean

Writes a Boolean value as a name/value pair of a JSON object

MemberName, Value

WriteMemberDecimal

Writes a Decimal value as a name/value pair of a JSON object

MemberName, Value

WriteMemberName

Writes a member name as a first part of a name/value pair of a JSON object

MemberName

WriteMemberNull

Writes a Null value as a name/value pair of a JSON object

MemberName

WriteMemberString

Writes a unicode string as a name/value pair of a JSON object

MemberName, Value

WriteNull

Writes a JSON Null value

MemberName

WriteString

Writes a unicode string value

Value, MemberName

WriteTime

Writes a Time value

Value, Format, MemberName


See also

All Component Classes

Technical Reference