ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonHelper Class / DeserializeObject Method / DeserializeObject(String,Type,JsonSetting) Method
The object to deserialize.
The type the json will be deserialized.
The JsonSetting used to deserialize the object. If this is null, default serialization settings will be used.

In This Topic
    DeserializeObject(String,Type,JsonSetting) Method
    In This Topic
    Deserializes the JSON to the specified type using JsonSetting.
    Syntax
    'Declaration
     
    Public Overloads Shared Function DeserializeObject( _
       ByVal strJson As String, _
       ByVal type As Type, _
       Optional ByVal js As JsonSetting _
    ) As Object
    public static object DeserializeObject( 
       string strJson,
       Type type,
       JsonSetting js
    )

    Parameters

    strJson
    The object to deserialize.
    type
    The type the json will be deserialized.
    js
    The JsonSetting used to deserialize the object. If this is null, default serialization settings will be used.

    Return Value

    The deserialized object from the JSON string.
    See Also