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
Type | Name |
---|---|
System.IO.TextWriter | writer |
System.Object | value |
WriteRootObject(TextWriter, Object)
View Source
Declaration
public static void WriteRootObject(TextWriter writer, object value)
Parameters
Type | Name |
---|---|
System.IO.TextWriter | writer |
System.Object | value |
GetRootObjectWriteFn(Object)
View Source
Declaration
public static WriteObjectDelegate GetRootObjectWriteFn(object value)
Returns
ServiceStack.Text.Common.WriteObjectDelegate
Parameters
Type | Name |
---|---|
System.Object | value |