C# Class NServiceMVC.Formats.JsonFormatHandler

Inheritance: IFormatHandler
Afficher le fichier Open project: gregmac/NServiceMVC Class Usage Examples

Méthodes publiques

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

Method Details

Deserialize() public méthode

public Deserialize ( string representation, Type modelType ) : object
representation string
modelType System.Type
Résultat object

JsonFormatHandler() public méthode

public JsonFormatHandler ( ) : System
Résultat System

Serialize() public méthode

public Serialize ( object model, bool humanReadable = false ) : string
model object
humanReadable bool
Résultat string