Get the object from JSON.
Namespace: CTCT.ComponentsAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
public static T FromJSON<T>(
string json
)
where T : class
public static T FromJSON<T>(
string json
)
where T : class
Public Shared Function FromJSON(Of T As Class) ( _
json As String _
) As T
Public Shared Function FromJSON(Of T As Class) ( _
json As String _
) As T
public:
generic<typename T>
where T : ref class
static T FromJSON(
String^ json
)
public:
generic<typename T>
where T : ref class
static T FromJSON(
String^ json
)
static member FromJSON :
json : string -> 'T when 'T : not struct
static member FromJSON :
json : string -> 'T when 'T : not struct
Parameters
- json
- Type: System String
The serialization string.
- T
- The class type to be deserialized.
Return Value
Returns the object deserialized from the JSON string.