For Babelfish Release 1.12.3.10

EnumConverterByDescriptionTWriteAsPropertyName Method

Writes a dictionary key as a JSON property name.

Definition

Namespace: Scopos.BabelFish.Converters.Microsoft
Assembly: BabelFish (in BabelFish.dll) Version: 1.12.3.10+306d87ab71d1aa659d07c082495f8eddb091ca7b
C#
public override void WriteAsPropertyName(
	Utf8JsonWriter writer,
	T value,
	JsonSerializerOptions options
)

Parameters

writer  Utf8JsonWriter
The Utf8JsonWriter to write to.
value  T
The value to convert. The value of HandleNull determines if the converter handles values.
options  JsonSerializerOptions
The options to use when writing the value.

See Also