Share via


IJsonWritable.WriteJson Method

.NET Framework 4

Serializes itself to JSON via a TextWriter.

Namespace:  Microsoft.AspNet.SignalR.Json
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Sub WriteJson ( _
    writer As TextWriter _
)
'Usage
Dim instance As IJsonWritable 
Dim writer As TextWriter

instance.WriteJson(writer)
void WriteJson(
    TextWriter writer
)
void WriteJson(
    TextWriter^ writer
)
abstract WriteJson : 
        writer:TextWriter -> unit
function WriteJson(
    writer : TextWriter
)

Parameters

See Also

Reference

IJsonWritable Interface

Microsoft.AspNet.SignalR.Json Namespace