There is currently now way to get the json easily from Tweetinvi.
- The main reason for that is very few developers need the json as is.
- The second reason is that it would multiply the number of methods by 2 foreach of the classes.
Now as you are requesting it, let me give you some info concerning the processing of Json in Tweetinvi.
When you perform a request from any object, the request will go through the Token class and the OAuthToken class.
The OAuthToken class retrieves the Json and send it back to the Token class.
The Token class deserialize it and transform it into a Dictionary<string, object>.
All objects (tweet, user, messages...) uses a Token and not the OAuthToken and are consequently unaware of the Json itself.
With this version you will need to call the OAuthToken with the http query and get the json back. You'll also have to construct the query on you own. You can access the queries from the Resources files of Tweetinvi.
Tweetinvi 0.9.0.0 is currently in development but the new design will allow me to provide a complete set of methods targeted for developers requesting the Json itself. Tweetinvi 0.9 is not fully implemented and all the projects/namespace/classes name can be
changed or deleted.
Even though I understand your need and if you feel comfortable working with an early alpha version of Tweetinvi I will be happy to provide you the objects allowing you to extract the json from Twitter.
To conclude in few words, this is currently complicated but the next release will ease the development of such feature on my side and I will be happy to develop them for you if you are ready to use an Alpha solution.