public T Deserialize <T>(TextReader reader) { FastTextTypeSerializer serializer = GetTypeSerializer(typeof(T)); return(serializer.Deserialize <T>(reader.ReadToEnd())); }
public T Deserialize <T>(string text) { FastTextTypeSerializer serializer = GetTypeSerializer(typeof(T)); return(serializer.Deserialize <T>(text)); }