C# Class Hypermedia.Json.JsonSerializer

Inheritance: IJsonSerializer
Datei anzeigen Open project: cosullivan/Hypermedia Class Usage Examples

Public Methods

Method 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 method

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.
return object

JsonSerializer() public method

Constructor.
public JsonSerializer ( ) : System
return System

JsonSerializer() public method

Constructor.
public JsonSerializer ( IJsonConverterFactory jsonConverterFactory ) : System
jsonConverterFactory IJsonConverterFactory The JSON converter factory.
return System

JsonSerializer() public method

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

SerializeValue() public method

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