C# Class Xamarin.Parse.Json.JsonAdapter

Exibir arquivo Open project: chkn/XamarinParse Class Usage Examples

Public Properties

Property Type Description
DefaultType System.Type

Public Methods

Method Description
ForType ( Type type ) : JsonAdapter
GetValueType ( object data, string key ) : Type
Register ( Type type, JsonAdapter adapter ) : void
SetKey ( object data, string key, object value ) : Cirrus.Future
WriteJson ( object data, JsonWriter writer ) : Cirrus.Future

Private Methods

Method Description
JsonAdapter ( ) : System

Method Details

ForType() public static method

public static ForType ( Type type ) : JsonAdapter
type System.Type
return JsonAdapter

GetValueType() public abstract method

public abstract GetValueType ( object data, string key ) : Type
data object
key string
return System.Type

Register() public static method

public static Register ( Type type, JsonAdapter adapter ) : void
type System.Type
adapter JsonAdapter
return void

SetKey() public abstract method

public abstract SetKey ( object data, string key, object value ) : Cirrus.Future
data object
key string
value object
return Cirrus.Future

WriteJson() public abstract method

public abstract WriteJson ( object data, JsonWriter writer ) : Cirrus.Future
data object
writer JsonWriter
return Cirrus.Future

Property Details

DefaultType public_oe static_oe property

public static Type,System DefaultType
return System.Type