C# Class Hypermedia.Json.JsonSerializer

Inheritance: IJsonSerializer
Afficher le fichier Open project: cosullivan/Hypermedia Class Usage Examples

Méthodes publiques

Méthode Description
DeserializeValue ( Type type, JsonLite.Ast.JsonValue jsonValue ) : object

Deserialize the given JSON value according to the specified CLR type.

JsonSerializer ( ) : System

Constructor.

JsonSerializer ( IJsonConverterFactory jsonConverterFactory ) : System

Constructor.

JsonSerializer ( IJsonConverterFactory jsonConverterFactory, IFieldNamingStrategy fieldNamingStrategy ) : System

Constructor.

SerializeValue ( object value ) : JsonLite.Ast.JsonValue

Serialize an inline object.

Method Details

DeserializeValue() public méthode

Deserialize the given JSON value according to the specified CLR type.
public DeserializeValue ( Type type, JsonLite.Ast.JsonValue jsonValue ) : object
type System.Type The CLR type to deserialize the JSON value to.
jsonValue JsonLite.Ast.JsonValue The JSON value to deserialize.
Résultat object

JsonSerializer() public méthode

Constructor.
public JsonSerializer ( ) : System
Résultat System

JsonSerializer() public méthode

Constructor.
public JsonSerializer ( IJsonConverterFactory jsonConverterFactory ) : System
jsonConverterFactory IJsonConverterFactory The JSON converter factory.
Résultat System

JsonSerializer() public méthode

Constructor.
public JsonSerializer ( IJsonConverterFactory jsonConverterFactory, IFieldNamingStrategy fieldNamingStrategy ) : System
jsonConverterFactory IJsonConverterFactory The JSON converter factory.
fieldNamingStrategy IFieldNamingStrategy The field naming strategy.
Résultat System

SerializeValue() public méthode

Serialize an inline object.
public SerializeValue ( object value ) : JsonLite.Ast.JsonValue
value object The value to serialization inline.
Résultat JsonLite.Ast.JsonValue