This document is archived and information here might be outdated.  Recommended version.


IJSONWriter Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IJ > IJSONWriter Interface
ArcGIS Developer Help

IJSONWriter Interface

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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 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 WriteDoubleVal Writes a double in array.
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 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.

Classes that implement IJSONWriter

Classes Description
JSONWriter A sequential JSON Writer.