For Babelfish Release 1.12.5.15

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.5.15+bc7490f802416c9e774304c66372b6a26afede1d
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