VkNet.Model.Tag.FromJson C# (CSharp) Méthode

FromJson() public static méthode

Разобрать из json.
public static FromJson ( VkResponse response ) : Tag
response VkResponse Ответ сервера.
Résultat Tag
        public static Tag FromJson(VkResponse response)
        {
            var result = new Tag
            {
                Id = response["tag_id"],
                TaggedName = response["tagged_name"],
                UserId = response["user_id"] ?? response["uid"],
                PlacerId = response["placer_id"],
                Date = response["tag_created"] ?? response["date"],
                IsViewed = response["viewed"],
                X = response["x"],
                Y = response["y"],
                X2 = response["x2"],
                Y2 = response["y2"]
            };

            return result;
        }