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