public object ConvertSourceToObject(PublishedPropertyType propertyType, object source, bool preview) { // Get the value as a string string str = source as string; // Deserialize the string return(String.IsNullOrWhiteSpace(str) ? null : TwitterOAuthData.Deserialize(str)); }