IJSONWriter2 Interface

Members

Name Description
Method EndArray Ends an array.
Method EndObject Ends writing of an object.
Method GetStringBuffer Obtains copy of string buffer. Encoding is UTF8.
Method Reset Resets IJSONWriter's internal state.
Method SetFormatted Writes 'pretty' formatting on or off.
Method SetIndent Writes indent for 'pretty' formatting. Default is 2.
Method StartArray Starts an array.
Method StartObject Starts writing an object.
Read-only property Stream Obtains underlying stream. If WriteTo() is not called yet, will return NULL. Also will return NULL if WriteToString() was called.
Method WriteBinary Writes a byte array.
Method WriteBinaryVal Writes a byte array.
Method WriteBoolean Writes a boolean.
Method WriteBooleanVal Writes a boolean in array.
Method WriteByte Writes a byte.
Method WriteByteVal Writes a byte in array.
Method WriteDate Writes a date.
Method WriteDateVal Writes a date in array.
Method WriteDouble Writes a double.
Method WriteDoubleEx Writes a double with specified number of digits after decimal point.
Method WriteDoubleVal Writes a double in array.
Method WriteDoubleValEx Writes a double in array with specified number of digits after decimal point.
Method WriteFloat Writes a float.
Method WriteFloatVal Writes a float in array.
Method WriteInteger Writes an integer.
Method WriteIntegerVal Writes an integer in array.
Method WriteNull Writes null property.
Method WriteNullVal Writes null value in array.
Method WriteRawString Writes a raw property without any processing. Use to insert JSON sub-object or sub-array strings only.
Method WriteRawStringVal Writes a raw value without any processing. Use to insert JSON sub-object or sub-array strings only.
Method WriteShort Writes a short.
Method WriteShortVal Writes a short int in array.
Method WriteString Writes a string property.
Method WriteStringVal Writes a string in array.
Method WriteTo Specifies output JSON stream.
Method WriteToString Redirects writing to internal string buffer.
Method WriteVariant Writes a variant valued property.
Method WriteVariantVal Writes a variant in array.

IJSONWriter2.Reset Method

Resets IJSONWriter's internal state.

Public Sub Reset ( _
)
public void Reset (
);

IJSONWriter2.WriteDoubleEx Method

Writes a double with specified number of digits after decimal point.

Public Sub WriteDoubleEx ( _
    ByVal Name As String, _
    ByVal Value As Double, _
    ByVal precision As Integer _
)
public void WriteDoubleEx (
    string Name,
    double Value,
    int precision
);

IJSONWriter2.WriteDoubleValEx Method

Writes a double in array with specified number of digits after decimal point.

Public Sub WriteDoubleValEx ( _
    ByVal Value As Double, _
    ByVal precision As Integer _
)
public void WriteDoubleValEx (
    double Value,
    int precision
);

IJSONWriter2.WriteRawString Method

Writes a raw property without any processing. Use to insert JSON sub-object or sub-array strings only.

Public Sub WriteRawString ( _
    ByVal Name As String, _
    ByVal Value As String _
)
public void WriteRawString (
    string Name,
    string Value
);

IJSONWriter2.WriteRawStringVal Method

Writes a raw value without any processing. Use to insert JSON sub-object or sub-array strings only.

Public Sub WriteRawStringVal ( _
    ByVal Value As String _
)
public void WriteRawStringVal (
    string Value
);

Inherited Interfaces

Interfaces Description
IJSONWriter Provides access to members that control the sequential writing of JSON.

Classes that implement IJSONWriter2

Classes Description
JSONWriter A sequential JSON Writer.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.