Show / Hide Table of Contents

Class JsonWriter

Represents a writer that provides a fast, forward-only way of generating JSON data.

Inheritance
System.Object
JsonWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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.

Extension Methods

JsonDataRow.Write(JsonWriter, DataRow)
JsonDataRow.Write(JsonWriter, DataRow, JsonView)
JsonDataSet.Write(JsonWriter, DataSet)
JsonDataSet.Write(JsonWriter, DataSet, IEnumerable<DataRow>)
JsonDataSet.Write(JsonWriter, JsonView, IEnumerable<DataRow>)
JsonDataValidationError.Write(JsonWriter, DataValidationError)
JsonDataValidationResult.Write(JsonWriter, DataValidationResult)
JsonDataValidationResults.Write(JsonWriter, IDataValidationResults)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest