Share via


IJsonSerializer Interface

.NET Framework 4

Used to serialize and deserialize outgoing/incoming data.

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

Syntax

'Declaration
Public Interface IJsonSerializer
'Usage
Dim instance As IJsonSerializer
public interface IJsonSerializer
public interface class IJsonSerializer
type IJsonSerializer =  interface end
public interface IJsonSerializer

The IJsonSerializer type exposes the following members.

Methods

  Name Description
Public method Parse Deserializes the JSON to a .NET object.
Public method Serialize Serializes the specified object to a TextWriter.

Top

Extension Methods

  Name Description
Public Extension Method Parse<T> Deserializes the JSON to a .NET object. (Defined by JsonSerializerExtensions.)
Public Extension Method Stringify Serializes the specified object to a JSON string. (Defined by JsonSerializerExtensions.)

Top

See Also

Reference

Microsoft.AspNet.SignalR.Json Namespace