| JTokenValueT Method |
Gets the
JToken with the specified key converted to the specified type.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public virtual T Value<T>(
Object key
)
Parameters
- key
- Type: SystemObject
The token key.
Type Parameters
- T
- The type to convert the token to.
Return Value
Type:
TThe converted token value.
See Also