CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | List of all members
CoreTweet.Core.ContributorsConverter Class Reference

Provides the Contributors converter of the Newtonsoft.Json.JsonSerializer. More...

Inheritance diagram for CoreTweet.Core.ContributorsConverter:

Public Member Functions

override bool CanConvert (Type objectType)
 Returns whether this converter can convert the object to the specified type. More...
 
override object ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 Reads the JSON representation of the object. More...
 
override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
 Writes the JSON representation of the object. More...
 

Detailed Description

Provides the Contributors converter of the Newtonsoft.Json.JsonSerializer.

Member Function Documentation

◆ CanConvert()

override bool CoreTweet.Core.ContributorsConverter.CanConvert ( Type  objectType)
inline

Returns whether this converter can convert the object to the specified type.

Parameters
objectTypeA System.Type that represents the type you want to convert to.
Returns
true if this converter can perform the conversion; otherwise, false.

◆ ReadJson()

override object CoreTweet.Core.ContributorsConverter.ReadJson ( JsonReader  reader,
Type  objectType,
object  existingValue,
JsonSerializer  serializer 
)
inline

Reads the JSON representation of the object.

Parameters
readerThe Newtonsoft.Json.JsonReader to read from.
objectTypeThe System.Type of the object.
existingValueThe existing value of object being read.
serializerThe calling serializer.
Returns
The object value.

◆ WriteJson()

override void CoreTweet.Core.ContributorsConverter.WriteJson ( JsonWriter  writer,
object  value,
JsonSerializer  serializer 
)
inline

Writes the JSON representation of the object.

Parameters
writerThe Newtonsoft.Json.JsonWriter to write to.
valueThe value.
serializerThe calling serializer.

The documentation for this class was generated from the following file: