Intersoft ClientUI Documentation
Deserialize(Type,String) Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > JsonSerializer Class > Deserialize Method : Deserialize(Type,String) Method






type
The type of the target object.
jsonString
The JSON string to deserialize.
Deserialize the specified JSON string to an object.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Deserialize( _
   ByVal type As Type, _
   ByVal jsonString As String _
) As Object
Visual Basic (Usage)Copy Code
Dim type As Type
Dim jsonString As String
Dim value As Object
 
value = JsonSerializer.Deserialize(type, jsonString)
C# 
public static object Deserialize( 
   Type type,
   string jsonString
)
Delphi 
public function Deserialize( 
    type: Type;
    jsonString: String
): TObject; static; 
JScript 
public static function Deserialize( 
   type : Type,
   jsonString : String
) : Object;
Managed Extensions for C++ 
public: static Object* Deserialize( 
   Type* type,
   string* jsonString
) 
C++/CLI 
public:
static Object^ Deserialize( 
   Type^ type,
   String^ jsonString
) 

Parameters

type
The type of the target object.
jsonString
The JSON string to deserialize.

Return Value

An object as the result of deserialization.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.