[]
Serialize an object to a json text.
public sealed class JsonWriter : BaseWriter, IDisposable, IJsonOperation
Name | Description |
---|---|
JsonWriter(TextWriter, JsonSetting) | Initializes a new instance of the JsonWriter class. |
Name | Description |
---|---|
JsonSetting | Gets the json settings. |
Name | Description |
---|---|
EndScope() | End the scope. |
StartArrayScope(object) | Start the scope for an array. |
StartObjectScope(object) | Start the scope for a new object. |
WriteName(string) | Serialize a name for a property. |
WriteRawName(string) | Serialize a name for a property. |
WriteRawValue(string) | Serialize a text. |
WriteValue(object, bool) | Serialize the specified object. |