Exemplo n.º 1
0
 public SearchResult(JsonObject json)
 {
     Text = json["text"]; // explicit conversion will unescape json
     Text = Text.UnescapeXml(); // unescape again for & escapes
     Id = json["id_str"];
     Source = json["source"];
     CreatedAt = json.GetSearchDateTime("created_at");
     User = new User
     {
         Id = json["from_user_id_str"],
         ScreenName = json["from_user"],
         ProfileImageUrl = json["profile_image_url"]
     };
 }