VkNet.Model.MarketComment.FromJson C# (CSharp) Method

FromJson() public static method

Разобрать из json.
public static FromJson ( VkResponse response ) : MarketComment
response VkNet.Utils.VkResponse Ответ сервера.
return MarketComment
        public static MarketComment FromJson(VkResponse response)
        {
            var item = new MarketComment
            {
                Comments = response["items"].ToReadOnlyCollectionOf<Comment>(x => x),
                Count = response["count"],
                Profiles = response["profiles"].ToReadOnlyCollectionOf<User>(x => x),
                Groups = response["groups"].ToReadOnlyCollectionOf<Group>(x => x)
            };

            return item;
        }
MarketComment