ObjectExtensions::DeserializeByJson Method (String^, Type^, IEnumerable<Type^>^)

 

Updated: January 15, 2016

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:
[ExtensionAttribute]
static Object^ DeserializeByJson(
	String^ text,
	Type^ type,
	IEnumerable<Type^>^ knownTypes
)

Parameters

text
Type: System::String^

Type: String.

type
Type: System::Type^

Type: Type.

knownTypes
Type: System.Collections.Generic::IEnumerable<Type^>^

Type: IEnumerable<Type>.

Return Value

Type: System::Object^

Type: Object
.

Return to top

© 2017 Microsoft. All rights reserved. Copyright

Show: