C# 클래스 Hypermedia.Json.JsonSerializer

상속: IJsonSerializer
파일 보기 프로젝트 열기: cosullivan/Hypermedia 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

DeserializeValue() 공개 메소드

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.
리턴 object

JsonSerializer() 공개 메소드

Constructor.
public JsonSerializer ( ) : System
리턴 System

JsonSerializer() 공개 메소드

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

JsonSerializer() 공개 메소드

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

SerializeValue() 공개 메소드

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