- Namespace
- Statiq
.Common - Containing Type
- IFileExtensions
Syntax
public static Task SerializeJsonAsync(this IFile file, object value, Type inputType, JsonSerializerOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Name | Type | Description |
---|---|---|
file | IFile | |
value | object | |
inputType | Type | |
options | Json |
|
cancellationToken | CancellationToken |
Return Value
Type | Description |
---|---|
Task |