JsonNetSerializer.Parse Method

.NET Framework 4

Deserializes the JSON to a .NET object.

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

Syntax

'Declaration
Public Function Parse ( _
    json As String, _
    targetType As Type _
) As Object
'Usage
Dim instance As JsonNetSerializer 
Dim json As String 
Dim targetType As Type 
Dim returnValue As Object 

returnValue = instance.Parse(json, targetType)
public Object Parse(
    string json,
    Type targetType
)
public:
virtual Object^ Parse(
    String^ json, 
    Type^ targetType
) sealed
abstract Parse : 
        json:string * 
        targetType:Type -> Object  
override Parse : 
        json:string * 
        targetType:Type -> Object
public final function Parse(
    json : String, 
    targetType : Type
) : Object

Parameters

Return Value

Type: System.Object
The deserialized object from the JSON string.

Implements

IJsonSerializer.Parse(String, Type)

See Also

Reference

JsonNetSerializer Class

Microsoft.AspNet.SignalR.Json Namespace