# TokenToQixObject Method

## Overloads

| [TokenToQixObject(JToken, Type, String, JsonSerializer)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.QixClassBase.TokenToQixObject.htm#Qlik_Engine_QixClassBase_TokenToQixObject_Newtonsoft_Json_Linq_JToken_System_Type_System_String_Newtonsoft_Json_JsonSerializer_) |  | Deserialize a Newtonsoft.Json.Linq.JToken to an object of a class extending QixClassBase. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.QixClassBase.TokenToQixObject.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.QixClassBase.TokenToQixObject.htm)

## 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](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.QixClassBase.htm) | The deserialized QixClassBase instance. |