CoreTweet  0.7.0
Yet another .NET Twitter Library
Static Public Member Functions | List of all members
CoreTweet.Core.CoreBase Class Reference

Represents a Twitter object. This is an abstract class. More...

Inheritance diagram for CoreTweet.Core.CoreBase:
CoreTweet.BoundingBox CoreTweet.Category CoreTweet.CollectionCursors CoreTweet.CollectionDestroyResult CoreTweet.CollectionEntriesPosition CoreTweet.CollectionEntriesResult CoreTweet.CollectionEntryChange CoreTweet.CollectionEntryOperationError CoreTweet.CollectionsListResult CoreTweet.CompatExtendedTweet CoreTweet.Configurations CoreTweet.Contributors CoreTweet.Coordinates CoreTweet.Cursored< T > CoreTweet.DirectMessage CoreTweet.Embed CoreTweet.Entities CoreTweet.Entity CoreTweet.Error CoreTweet.Friendship CoreTweet.GeoResult CoreTweet.GeoVendorInfo CoreTweet.Language CoreTweet.List CoreTweet.Location CoreTweet.MediaProcessingError CoreTweet.MediaSize CoreTweet.MediaSizes CoreTweet.MediaUploadResult CoreTweet.Place CoreTweet.PlaceType CoreTweet.ProcessingInfo CoreTweet.ProfileBannerSize CoreTweet.ProfileBannerSizes CoreTweet.RateLimit CoreTweet.Relationship CoreTweet.RelationshipTarget CoreTweet.SearchMetadata CoreTweet.SearchQuery CoreTweet.SearchResult CoreTweet.Setting CoreTweet.SleepTime CoreTweet.Status CoreTweet.Streaming.StreamingMessage CoreTweet.StringResponse CoreTweet.Timeline CoreTweet.TimelineEntry CoreTweet.TimeZone CoreTweet.Trend CoreTweet.TrendsResult CoreTweet.UploadedImage CoreTweet.UploadedVideo CoreTweet.UploadInitCommandResult CoreTweet.User CoreTweet.UserEntities CoreTweet.VendorYelp CoreTweet.VideoInfo CoreTweet.VideoVariant

Static Public Member Functions

static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents a Twitter object. This is an abstract class.

Member Function Documentation

static T CoreTweet.Core.CoreBase.Convert< T > ( string  json,
string  jsonPath = "" 
)
inlinestatic

Converts the JSON to a twitter object of the specified type.

This method is used internally in CoreTweet.

You can use this method for debugging.

Parameters
jsonThe json message.
jsonPathJSONPath of object to be deserialize.
Template Parameters
TThe type of a twitter object.
Returns
The twitter object.
static List<T> CoreTweet.Core.CoreBase.ConvertArray< T > ( string  json,
string  jsonPath 
)
inlinestatic

Converts the json to a twitter object of the specified type.

This is used for APIs that return an array.

This method is used internally in CoreTweet.

You can use this method for debugging.

Parameters
jsonThe json message.
jsonPathJSONPath of object to be deserialize.
Template Parameters
TThe type of a twitter object.
Returns
Twitter objects.

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