Class JsonWriter
Represents a writer that provides a fast, forward-only way of generating JSON data.
Inheritance
Inherited Members
Namespace: DevZest.Data.Primitives
Assembly: DevZest.Data.dll
Syntax
public abstract class JsonWriter
Constructors
Name | Description |
---|---|
JsonWriter(IJsonCustomizer) | Initializes a new instance of JsonWriter class. |
Properties
Name | Description |
---|---|
Customizer | Gets the JSON customizer. |
Methods
Name | Description |
---|---|
Create(IJsonCustomizer) | Create JsonWriter object from JSON customizer. |
Create(StringBuilder, IJsonCustomizer) | Create JsonWriter object from JSON customizer. |
IsSerializable(Column) | Determines whether specified column is serializable. |
PerformWriteComma() | Provides implementation of writing comma ','. |
PerformWriteEndArray() | Provides implementation of writing end array ']'. |
PerformWriteEndObject() | Provides implementation of writing end object '}'. |
PerformWritePropertyName(String) | Provides implementation of writing property name. |
PerformWriteStartArray() | Provides implementation of writing start array '['. |
PerformWriteStartObject() | Provides implementation of writing start object '{'. |
PerformWriteValue(JsonValue) | Provides implementation of writing JsonValue. |
Serialize(Column, Int32) | Serializes data value of column into JsonValue. |
ToString() | |
ToString(Boolean) | Converts this JSON writer into string. |
WriteArray<T>(IEnumerable<T>, Action<JsonWriter, T>) | Writes array of objects. |
WriteComma() | Writes comma ','. |
WriteEndArray() | Writes end array ']'. |
WriteEndObject() | Writes end object '}'. |
WriteNameArrayPair<T>(String, IEnumerable<T>, Action<JsonWriter, T>) | Writes a pair of name and array, separated by ':'. |
WriteNameStringPair(String, String) | Writes a pair of name and string value, separated by ':'. |
WriteNameValuePair(String, JsonValue) | Writes a pair of name and JsonValue, separated by ':'. |
WritePropertyName(String) | Writes property name. |
WriteStartArray() | Writes start array '['. |
WriteStartObject() | Writes start object '{'. |
WriteValue(JsonValue) | Writes the JsonValue. |