Adds common utilities for System.Text.Json leveraged by DarkPatterns.OpenApiCodegen nuget packages.
JsonStringEnumPropertyNameConverter- Supports string enum values via the
System.Text.Json.Serialization.JsonPropertyNameAttribute.
- Supports string enum values via the
Optional<T>- A class that is either
nullor of a subtypeOptional<T>.Present. By usingSystem.Text.Json.Serialization.JsonIgnoreAttribute, serialization can use this type to distinguish between null and omitted properties in JSON.
- A class that is either