# ResultAsync Method

## Overloads

| [ResultAsync<T>(String, Func<JToken, Task<T>>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ResultAsync.htm#Qlik_Sense_JsonRpc_Response_ResultAsync__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken_System_Threading_Tasks_Task___0___) |  | Gets custom result from a json response. Wrapper for [Value<T>(String, Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Value.htm#Qlik_Sense_JsonRpc_Response_Value__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken___0__) that assumes<br>the property to deserialize is found in the result part of the response asynchronously. |
| --- | --- | --- |

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

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

Gets custom result from a json response. Wrapper for [Value<T>(String, Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Value.htm#Qlik_Sense_JsonRpc_Response_Value__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken___0__) that assumes the property to deserialize is found in the result part of the response asynchronously.

### Declaration

```

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

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | name | The property of the result entry in the json 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. |