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

FromJson() public static method

Разобрать из json.
public static FromJson ( VkResponse response ) : Price
response VkNet.Utils.VkResponse Ответ сервера.
return Price
        public static Price FromJson(VkResponse response)
        {
            var price = new Price
            {
                Amount = response["amount"],
                Currency = response["currency"],
                Text = response["text"]
            };

            return price;
        }