private void btnGo_Click(object sender, EventArgs e)
        {
            var restClient = new RestService(
                txtRestUri.Text,
                HttpMethod.GET,
                AuthenticationType.Basic,
                AuthenticationTechnique.RollYourOwn,
                new BasicCredentials {
                UserName = "", Password = ""
            });

            WinFormService.WriteToTextBox(restClient.MakeRequest(), txtResponse);
        }
        private void btnDeserialize_Click(object sender, EventArgs e)
        {
            txtOutput.Clear();

            var person = JsonService.GetDeserializedObject <Person>(txtRawJson.Text);

            WinFormService.WriteToTextBox(person.ToString(), txtOutput);
            WinFormService.WriteToTextBox("Last name: " + person.lastname, txtOutput);
            WinFormService.WriteToTextBox("Address: " + person.address.streetaddress, txtOutput);
            foreach (var phonenumber in person.phonenumbers)
            {
                WinFormService.WriteToTextBox("Phone number: " + phonenumber.number, txtOutput);
            }
        }