C# Class SteamWebAPI2.Utilities.JsonConverters.StoreAppDetailsContainerJsonConverter

Take some special steps when deserializing the AppDetails response since the response has a dynamic property based on the app id which is passed as a parameter. For example, passing app id "570" to the AppDetails endpoint will give a response like so: "570": { "success": true }
Inheritance: Newtonsoft.Json.JsonConverter
Afficher le fichier Open project: babelshift/SteamWebAPI2

Méthodes publiques

Méthode Description
CanConvert ( Type objectType ) : bool
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Method Details

CanConvert() public méthode

public CanConvert ( Type objectType ) : bool
objectType System.Type
Résultat bool

ReadJson() public méthode

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
Résultat object

WriteJson() public méthode

public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value object
serializer Newtonsoft.Json.JsonSerializer
Résultat void