public static void Main()
var json = "{ \"userID\": \"FooName\", \"userType\": \"FooType\" }";
var fooUser = JsonConvert.DeserializeObject<FooUser>(json);
Console.WriteLine(fooUser.UserID);
Console.WriteLine(fooUser.UserType);
public string UserID { get; set; }
public string UserType { get; private set; }
this.UserType = "FooType";