Parse(T) Method

Chat2Desk

Chat2Desk

ResponseParser..::..Parse<(Of <(<'T>)>)> Method

Парсит json и приводи к типу Т

Namespace:  Chat2Desk.Parser
Assembly:  Chat2Desk (in Chat2Desk.dll)

Syntax


public T Parse<T>(
	string json
)
Public Function Parse(Of T) ( _
	json As String _
) As T
public:
generic<typename T>
T Parse(
	String^ json
)

Type Parameters

T

Parameters

json
Type: String
The json.

Return Value

Exceptions


ExceptionCondition
[ArgumentException]json is undefined.
[Chat2Desk.Exceptions.ParseException]