C# 클래스 Hyper.Http.Serialization.HyperJsonConverter

HyperJsonConverter class.
상속: System.Web.Script.Serialization.JavaScriptConverter
파일 보기 프로젝트 열기: tmitchel2/Hyper 1 사용 예제들

공개 메소드들

메소드 설명
Deserialize ( object>.IDictionary dictionary, Type type, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object

Deserializes the specified dictionary.

HyperJsonConverter ( IEnumerable supportedTypes ) : System

Initializes a new instance of the HyperJsonConverter class.

Serialize ( object obj, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object>.IDictionary

When overridden in a derived class, builds a dictionary of name/value pairs.

비공개 메소드들

메소드 설명
CustomDeserialize ( Type type, object data, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object

Customs the deserialize.

CustomSerialize ( object obj ) : object

Customs the serialize.

GetDefaultValue ( Type type ) : object

Gets the default value.

GetLinkName ( PropertyInfo prop ) : string

Gets the name of the link.

GetLinkValue ( PropertyInfo prop, object obj, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object

Gets the link value.

GetMemberName ( PropertyInfo prop ) : string

Gets the name of the member.

GetMemberValue ( PropertyInfo prop, object obj ) : object

Gets the member value.

IsLink ( PropertyInfo prop ) : bool

Determines whether the specified prop is link.

IsLinkSerialised ( PropertyInfo prop, object obj ) : bool

Determines whether [is links serialised] [the specified prop].

IsMember ( PropertyInfo prop ) : bool

Determines whether the specified prop is member.

IsMemberSerialised ( PropertyInfo prop, object obj ) : bool

Determines whether [is member serialised] [the specified prop].

SetLinkValue ( object obj, PropertyInfo prop, object value, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : void

Sets the link value.

SetMemberValue ( object obj, PropertyInfo prop, object value, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : void

Sets the member value.

메소드 상세

Deserialize() 공개 메소드

Deserializes the specified dictionary.
public Deserialize ( object>.IDictionary dictionary, Type type, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object
dictionary object>.IDictionary The dictionary.
type System.Type The type.
serializer System.Web.Script.Serialization.JavaScriptSerializer The serializer.
리턴 object

HyperJsonConverter() 공개 메소드

Initializes a new instance of the HyperJsonConverter class.
public HyperJsonConverter ( IEnumerable supportedTypes ) : System
supportedTypes IEnumerable The supported types.
리턴 System

Serialize() 공개 메소드

When overridden in a derived class, builds a dictionary of name/value pairs.
public Serialize ( object obj, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object>.IDictionary
obj object The object to serialize.
serializer System.Web.Script.Serialization.JavaScriptSerializer The object that is responsible for the serialization.
리턴 object>.IDictionary