C# Class numl.Serialization.JsonSerializer

An abstract JsonSerializer class.
Inheritance: ISerializer
Datei anzeigen Open project: sethjuarez/numl

Public Methods

Method Description
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.

Method Details

CanConvert() public abstract method

Determines whether this instance can convert the specified type.
public abstract CanConvert ( Type type ) : bool
type System.Type The type.
return bool

Create() public abstract method

Creates an instance of the type to be deserialized
public abstract Create ( ) : object
return object

PostRead() public method

Reads the closing content.
public PostRead ( JsonReader reader ) : void
reader JsonReader
return void

PostWrite() public method

Writes closing content.
public PostWrite ( JsonWriter writer ) : void
writer JsonWriter
return void

PreWrite() public method

Writes the opening as well as any static content.
public PreWrite ( JsonWriter writer ) : void
writer JsonWriter
return void

Read() public abstract method

Reads the specified reader.
public abstract Read ( JsonReader reader ) : object
reader JsonReader The reader.
return object

Write() public abstract method

Writes the specified value.
public abstract Write ( JsonWriter writer, object value ) : void
writer JsonWriter The writer.
value object The value.
return void