ValueAsync Method
Overloads
| ValueAsync<T>(String, Func<JToken, Task<T>>) | Gets custom value from a json response asynchronously. | 
ValueAsync<T>(String, Func<JToken, Task<T>>)
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<Newtonsoft.Json.Linq.JToken, System.Threading.Tasks.Task<T>> | deserializer | The method to use to translate a token to the target type. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | A task that resolves the deserialized value. | 
Type Parameters
| Name | Description | 
|---|---|
| T | The type to which the json response should be deserialized. |