Allows changing the JSON serializer options.
- Namespace
- Statiq
.Core - Containing Type
- GenerateJson
Syntax
public GenerateJson WithSettings(Action<JsonSerializerOptions> options)
Parameters
| Name | Type | Description |
|---|---|---|
| options | Action |
An action that manipulates the serializer options. |
Return Value
| Type | Description |
|---|---|
| GenerateJson | The current module instance. |