Skip to content

Instantly share code, notes, and snippets.

@pparadis

pparadis/JSON.cs

Created Nov 9, 2013
Embed
What would you like to do?
public class Rootobject
{
public string firstName { get; set; }
public string lastName { get; set; }
public int age { get; set; }
public Address address { get; set; }
public Phonenumber[] phoneNumbers { get; set; }
}
public class Address
{
public string streetAddress { get; set; }
public string city { get; set; }
public string state { get; set; }
public int postalCode { get; set; }
}
public class Phonenumber
{
public string type { get; set; }
public string number { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment