Share via


IJsonSerializer.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
Function Parse ( _
    json As String, _
    targetType As Type _
) As Object
'Usage
Dim instance As IJsonSerializer 
Dim json As String 
Dim targetType As Type 
Dim returnValue As Object 

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

Parameters

Return Value

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

See Also

Reference

IJsonSerializer Interface

Microsoft.AspNet.SignalR.Json Namespace