IJsonWriter Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates logic for serializing objects to JSON.
public interface IJsonWriter
type IJsonWriter = interface
Public Interface IJsonWriter
Methods
WriteComma() |
Writes comma. |
WriteEndArray() |
Writes closing/right square bracket. |
WriteEndObject() |
Writes closing/right curly brace. |
WriteProperty(String, IDictionary<String,Double>) |
Writes a IDictionary<TKey,TValue> property. |
WriteProperty(String, IDictionary<String,String>) |
Writes a IDictionary<TKey,TValue> property. |
WriteProperty(String, Nullable<Boolean>) |
Writes a Boolean property. |
WriteProperty(String, Nullable<DateTimeOffset>) |
Writes a DateTimeOffset property. |
WriteProperty(String, Nullable<Double>) |
Writes a Double property. |
WriteProperty(String, Nullable<Int32>) |
Writes a Int32 property. |
WriteProperty(String, Nullable<TimeSpan>) |
Writes a TimeSpan property. |
WriteProperty(String, String) |
Writes a String property. |
WritePropertyName(String) |
Writes a property name in double quotation marks, followed by a colon. |
WriteRawValue(Object) |
Writes Object as raw value directly. |
WriteStartArray() |
Writes opening/left square bracket. |
WriteStartObject() |
Writes opening/left curly brace. |
Applies to
Azure SDK for .NET