TYPE

JsonSourceGenerationOptionsAttribute

Configures generated JSON serialization metadata and options.

Formal Syntax & Structure

csharp syntaxcsharp
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]

Working Example

Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]
C# & .NET Reference