JsonDateOnlyStringWrite Method
Writes a specified value as JSON.
Namespace: Common.Core.ConvertersAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public override void Write(
Utf8JsonWriter writer,
DateOnly? value,
JsonSerializerOptions options
)
Parameters
- writer Utf8JsonWriter
- The writer to write to.
- value NullableDateOnly
- The value to convert to JSON.
- options JsonSerializerOptions
- An object that specifies serialization options to use.