namespace SabreTools.Serialization.Readers
{
///
/// Defines how to read from strings
///
public interface IStringReader
{
///
/// Enable outputting debug information
///
public bool Debug { get; set; }
///
/// Deserialize a string into
///
/// Type of object to deserialize to
/// String to deserialize from
/// Filled object on success, null on error
public TModel? Deserialize(string? str);
}
}