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

FromJson() public static méthode

Разобрать из json.
public static FromJson ( VkResponse response ) : StandInLife
response VkResponse Ответ сервера.
Résultat StandInLife
        public static StandInLife FromJson(VkResponse response)
        {
            var standInLife = new StandInLife
            {
                Political = response["political"],
                Languages = response["langs"],
                Religion = response["religion"],
                InspiredBy = response["inspired_by"],
                PeopleMain = response["people_main"],
                LifeMain = response["life_main"],
                Smoking = response["smoking"],
                Alcohol = response["alcohol"]
            };

            return standInLife;
        }
StandInLife