Skip to main content

JsonWriter<T>

Implement the serializer using a more static approach

Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class JsonWriter<T>

Methods

Reset()

View Source
Declaration
public static void Reset()

Refresh()

View Source
Declaration
public static void Refresh()

WriteFn()

View Source
Declaration
public static WriteObjectDelegate WriteFn()
Returns

ServiceStack.Text.Common.WriteObjectDelegate

GetTypeInfo()

View Source
Declaration
public static TypeInfo GetTypeInfo()
Returns

ServiceStack.Text.Json.TypeInfo

WriteObject(TextWriter, Object)

View Source
Declaration
public static void WriteObject(TextWriter writer, object value)
Parameters
TypeName
System.IO.TextWriterwriter
System.Objectvalue

WriteRootObject(TextWriter, Object)

View Source
Declaration
public static void WriteRootObject(TextWriter writer, object value)
Parameters
TypeName
System.IO.TextWriterwriter
System.Objectvalue

GetRootObjectWriteFn(Object)

View Source
Declaration
public static WriteObjectDelegate GetRootObjectWriteFn(object value)
Returns

ServiceStack.Text.Common.WriteObjectDelegate

Parameters
TypeName
System.Objectvalue