Skip to main content

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
TypeName
System.StringserializedText
Type Parameters
  • To

DeserializeFromString(String, Type)

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

System.Object

Parameters
TypeName
System.StringserializedText
System.Typetype

SerializeToString<TFrom>(TFrom)

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

System.String

Parameters
TypeName
<TFrom>from
Type Parameters
  • TFrom

Implements