# ValueAsync Method

## Overloads

| [ValueAsync<T>(String, Func<JToken, Task<T>>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ValueAsync.htm#Qlik_Sense_JsonRpc_Response_ValueAsync__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken_System_Threading_Tasks_Task___0___) |  | Gets custom value from a json response asynchronously. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ValueAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ValueAsync.htm)

## ValueAsync&lt;T&gt;(String, Func&lt;JToken, Task&lt;T&gt;&gt;)

Gets custom value from a json response asynchronously.

### Declaration

```

          public Task<T> ValueAsync<T>(string name, Func<JToken, Task<T>> deserializer)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | name | The property of the response to deserialized. |
| System.Func&lt;Newtonsoft.Json.Linq.JToken, System.Threading.Tasks.Task&lt;T&gt;&gt; | deserializer | The method to use to translate a token to the target type. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; | A task that resolves the deserialized value. |

### Type Parameters

| Name | Description |
| --- | --- |
| T | The type to which the json response should be deserialized. |