C# Класс numl.Serialization.JsonSerializer

An abstract JsonSerializer class.
Наследование: ISerializer
Показать файл Открыть проект

Открытые методы

Метод Описание
CanConvert ( Type type ) : bool

Determines whether this instance can convert the specified type.

Create ( ) : object

Creates an instance of the type to be deserialized

PostRead ( JsonReader reader ) : void

Reads the closing content.

PostWrite ( JsonWriter writer ) : void

Writes closing content.

PreWrite ( JsonWriter writer ) : void

Writes the opening as well as any static content.

Read ( JsonReader reader ) : object

Reads the specified reader.

Write ( JsonWriter writer, object value ) : void

Writes the specified value.

Описание методов

CanConvert() публичный абстрактный Метод

Determines whether this instance can convert the specified type.
public abstract CanConvert ( Type type ) : bool
type System.Type The type.
Результат bool

Create() публичный абстрактный Метод

Creates an instance of the type to be deserialized
public abstract Create ( ) : object
Результат object

PostRead() публичный Метод

Reads the closing content.
public PostRead ( JsonReader reader ) : void
reader JsonReader
Результат void

PostWrite() публичный Метод

Writes closing content.
public PostWrite ( JsonWriter writer ) : void
writer JsonWriter
Результат void

PreWrite() публичный Метод

Writes the opening as well as any static content.
public PreWrite ( JsonWriter writer ) : void
writer JsonWriter
Результат void

Read() публичный абстрактный Метод

Reads the specified reader.
public abstract Read ( JsonReader reader ) : object
reader JsonReader The reader.
Результат object

Write() публичный абстрактный Метод

Writes the specified value.
public abstract Write ( JsonWriter writer, object value ) : void
writer JsonWriter The writer.
value object The value.
Результат void