C# Class NServiceMVC.Formats.JsonFormatHandler

Inheritance: IFormatHandler
Mostrar archivo Open project: gregmac/NServiceMVC Class Usage Examples

Public Methods

Method Description
Deserialize ( string representation, Type modelType ) : object
JsonFormatHandler ( ) : System
Serialize ( object model, bool humanReadable = false ) : string

Method Details

Deserialize() public method

public Deserialize ( string representation, Type modelType ) : object
representation string
modelType System.Type
return object

JsonFormatHandler() public method

public JsonFormatHandler ( ) : System
return System

Serialize() public method

public Serialize ( object model, bool humanReadable = false ) : string
model object
humanReadable bool
return string