ObjectExtensions.DeserializeByJson Method (String, Type, IEnumerable<Type>)


Applies To: Dynamics CRM 2015

Deserialize an object using the DataContractJsonSerializer.

Namespace:   Microsoft.Xrm.Client.Runtime.Serialization
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)


public static object DeserializeByJson(
    this string text,
    Type type,
    IEnumerable<Type> knownTypes
static Object^ DeserializeByJson(
    String^ text,
    Type^ type,
    IEnumerable<Type^>^ knownTypes
static member DeserializeByJson : 
        text:string *
        type:Type *
        knownTypes:IEnumerable<Type> -> Object
Public Shared Function DeserializeByJson (
    text As String,
    type As Type,
    knownTypes As IEnumerable(Of Type)
) As Object


Return Value

Type: System.Object

Type: Object

See Also

ObjectExtensions Class
Microsoft.Xrm.Client.Runtime.Serialization Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright