C# Class System.Net.Http.Formatting.JsonContractResolver

Inheritance: Newtonsoft.Json.Serialization.DefaultContractResolver
Mostra file Open project: anurse/ReviewR Class Usage Examples

Public Methods

Method Description
JsonContractResolver ( System.Net.Http.Formatting.MediaTypeFormatter formatter ) : System.Collections.Generic

Protected Methods

Method Description
CreateObjectContract ( Type type ) : JsonObjectContract
CreateProperty ( MemberInfo member, MemberSerialization memberSerialization ) : JsonProperty

Private Methods

Method Description
ConfigureProperty ( MemberInfo member, JsonProperty property ) : void
CreateSerializableJsonProperties ( Type type ) : IEnumerable
IsTypeJsonObject ( Type type ) : bool
IsTypeNullable ( Type type ) : bool

Method Details

CreateObjectContract() protected method

protected CreateObjectContract ( Type type ) : JsonObjectContract
type Type
return Newtonsoft.Json.Serialization.JsonObjectContract

CreateProperty() protected method

protected CreateProperty ( MemberInfo member, MemberSerialization memberSerialization ) : JsonProperty
member System.Reflection.MemberInfo
memberSerialization MemberSerialization
return Newtonsoft.Json.Serialization.JsonProperty

JsonContractResolver() public method

public JsonContractResolver ( System.Net.Http.Formatting.MediaTypeFormatter formatter ) : System.Collections.Generic
formatter System.Net.Http.Formatting.MediaTypeFormatter
return System.Collections.Generic