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
- writer
Type: System.IO.TextWriter
The TextWriter that receives the JSON serialized object.