JsonStringSerializer
Assembly: ServiceStack.Text.dll
View Source
Declaration
public class JsonStringSerializer : IStringSerializer
Methods
DeserializeFromString<To>(String)
View Source
Declaration
public To DeserializeFromString<To>(string serializedText)
Returns
<To>
Parameters
Type | Name |
---|---|
System.String | serializedText |
Type Parameters
To
DeserializeFromString(String, Type)
View Source
Declaration
public object DeserializeFromString(string serializedText, Type type)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.String | serializedText |
System.Type | type |
SerializeToString<TFrom>(TFrom)
View Source
Declaration
public string SerializeToString<TFrom>(TFrom from)
Returns
System.String
Parameters
Type | Name |
---|---|
<TFrom> | from |
Type Parameters
TFrom