JsonNetSerializer Class

.NET Framework 4.5

Default IJsonSerializer implementation over Json.NET.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Json.JsonNetSerializer

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

Syntax

'Declaration
Public Class JsonNetSerializer _
    Implements IJsonSerializer
'Usage
Dim instance As JsonNetSerializer
public class JsonNetSerializer : IJsonSerializer
public ref class JsonNetSerializer : IJsonSerializer
type JsonNetSerializer =  
    class 
        interface IJsonSerializer 
    end
public class JsonNetSerializer implements IJsonSerializer

The JsonNetSerializer type exposes the following members.

Constructors

  Name Description
Public method JsonNetSerializer()
Public method JsonNetSerializer(JsonSerializerSettings)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Parse Deserializes the JSON to a .NET object.
Public method Serialize Serializes the specified object to a TextWriter.
Public method ToString (Inherited from Object.)

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Json Namespace