C# Class numl.Serialization.Supervised.SummarySerializer

Implements a Summary object serializer.
Inheritance: JsonSerializer
显示文件 Open project: sethjuarez/numl

Public Methods

Method Description
CanConvert ( Type type ) : bool

Returns True if the specified Type can be converted to a Summmary object.

Create ( ) : object

Creates a default Summary object.

Read ( JsonReader reader ) : object

Deserializes a Summary object from the given stream.

Write ( JsonWriter writer, object value ) : void

Serializes the given Summary object to the given stream.

Method Details

CanConvert() public method

Returns True if the specified Type can be converted to a Summmary object.
public CanConvert ( Type type ) : bool
type System.Type
return bool

Create() public method

Creates a default Summary object.
public Create ( ) : object
return object

Read() public method

Deserializes a Summary object from the given stream.
public Read ( JsonReader reader ) : object
reader JsonReader A JSON Reader object.
return object

Write() public method

Serializes the given Summary object to the given stream.
public Write ( JsonWriter writer, object value ) : void
writer JsonWriter A JSON Writer object.
value object A Summary object.
return void