Share via


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

See Also

Reference

IJsonSerializer Interface

Microsoft.AspNet.SignalR.Json Namespace