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)

Syntax

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

Parameters

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