Share via


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

 

Applies To: Dynamics CRM 2013

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
Developer extensions for Microsoft Dynamics CRM 2013

Return to top