TokenToQixObject Method
Overloads
| TokenToQixObject(JToken, Type, String, JsonSerializer) |
Deserialize a Newtonsoft.Json.Linq.JToken to an object of a class extending QixClassBase. |
TokenToQixObject(JToken, Type, String, JsonSerializer)
Deserialize a Newtonsoft.Json.Linq.JToken to an object of a class extending QixClassBase.
Declaration
public static QixClassBase TokenToQixObject(JToken token, Type subType, string id, JsonSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.Linq.JToken | token |
The source token to deserialize. |
| System.Type | subType |
The type to deserialize to. |
| System.String | id |
The identifier of the qix object. |
| Newtonsoft.Json.JsonSerializer | serializer |
The Newtonsoft.Json.JsonSerializer to use for deserialization. |
Returns
| Type | Description |
|---|---|
| QixClassBase |
The deserialized QixClassBase instance. |