Share via


JsonSerializerExtensions Class

.NET Framework 4

Extensions for IJsonSerializer.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Json.JsonSerializerExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class JsonSerializerExtensions
'Usage
public static class JsonSerializerExtensions
[ExtensionAttribute]
public ref class JsonSerializerExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type JsonSerializerExtensions =  class end
public final class JsonSerializerExtensions

The JsonSerializerExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member Parse<T> Deserializes the JSON to a .NET object.
Public methodStatic member Stringify Serializes the specified object to a JSON string.

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