Created
January 13, 2017 02:21
-
-
Save scottksmith95/5a403b81f27c9788108f0cf84244dfe9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Web.Script.Serialization; | |
class Program | |
{ | |
const string GitHubPath = "https://api.github.com/users/scottksmith95/repos"; | |
static readonly JavaScriptSerializer Serializer = new JavaScriptSerializer(); | |
static void Main(string[] args) | |
{ | |
var gitHubUri = new Uri(GitHubPath); | |
var json = ApiRequest.GetJson(gitHubUri); | |
var jsonObject = Serializer.Deserialize<object>(json); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment