IJsonSerializer.Serialize Method
.NET Framework 4
Serializes the specified object to a TextWriter.
Namespace: Microsoft.AspNet.SignalR.Json
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Sub Serialize ( _
value As Object, _
writer As TextWriter _
)
'Usage
Dim instance As IJsonSerializer
Dim value As Object
Dim writer As TextWriter
instance.Serialize(value, writer)
void Serialize(
Object value,
TextWriter writer
)
void Serialize(
Object^ value,
TextWriter^ writer
)
abstract Serialize :
value:Object *
writer:TextWriter -> unit
function Serialize(
value : Object,
writer : TextWriter
)
Parameters
- value
Type: System.Object
The object to serialize.
- writer
Type: System.IO.TextWriter
The TextWriter to serialize the object to.