Skip to content

Instantly share code, notes, and snippets.

@anujb
Created May 16, 2011 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anujb/973707 to your computer and use it in GitHub Desktop.
Save anujb/973707 to your computer and use it in GitHub Desktop.
[JsonObject("user")]
public class User
{
[JsonProperty("id")]
public string id { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
}
{
"user": {
"gravatar_id": "b8dbb1987e8e5318584865f880036796",
"company": "GitHub",
"name": "Chris Wanstrath",
"created_at": "2007/10/19 22:24:19 -0700",
"location": "San Francisco, CA",
"public_repo_count": 98,
"public_gist_count": 270,
"blog": "http://chriswanstrath.com/",
"following_count": 196,
"id": 2,
"type": "User",
"permission": null,
"followers_count": 1692,
"login": "defunkt",
"email": "chris@wanstrath.com"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment