JsonDecimalStringWrite 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,
decimal? value,
JsonSerializerOptions options
)
Parameters
- writer Utf8JsonWriter
- The writer to write to.
- value NullableDecimal
- The value to convert to JSON.
- options JsonSerializerOptions
- An object that specifies serialization options to use.