/// <summary> /// Deserializes the specified object <paramref name="serializedObject"/> represented as the Json ASCII string. /// </summary> /// <param name="serializedObject">The serialized object.</param> /// <returns></returns> public static Type Deserialize <Type>(string serializedObject) { DataContractJsonSerializer _Srlzr = new DataContractJsonSerializer(typeof(Type)); using (System.IO.MemoryStream _writer = new System.IO.MemoryStream()) { _writer.WriteString(serializedObject); return((Type)_Srlzr.ReadObject(_writer)); } }