Skip to main content

IStringSerializer

Assembly: ServiceStack.Text.dll​
View Source​
Declaration
public interface IStringSerializer

Methods​

DeserializeFromString<To>(String)​

View Source​
Declaration
To DeserializeFromString<To>(string serializedText)
Returns​

<To>

Parameters​
TypeName
System.StringserializedText
Type Parameters​
  • To

DeserializeFromString(String, Type)​

View Source​
Declaration
object DeserializeFromString(string serializedText, Type type)
Returns​

System.Object

Parameters​
TypeName
System.StringserializedText
System.Typetype

SerializeToString<TFrom>(TFrom)​

View Source​
Declaration
string SerializeToString<TFrom>(TFrom from)
Returns​

System.String

Parameters​
TypeName
<TFrom>from
Type Parameters​
  • TFrom