- Namespace
- Statiq
.Common - Containing Type
- IFileExtensions
Syntax
public static ValueTask<TValue> DeserializeJsonAsync<TValue>(this IFile file, JsonSerializerOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Type Parameters
Name | Description |
---|---|
TValue |
Parameters
Name | Type | Description |
---|---|---|
file | IFile | |
options | Json |
|
cancellationToken | CancellationToken |
Return Value
Type | Description |
---|---|
ValueTask |