For Babelfish Release 1.12.3.10

EnumConverterByDescriptionTReadAsPropertyName Method

Reads a dictionary key from a JSON property name.

Definition

Namespace: Scopos.BabelFish.Converters.Microsoft
Assembly: BabelFish (in BabelFish.dll) Version: 1.12.3.10+306d87ab71d1aa659d07c082495f8eddb091ca7b
C#
public override T ReadAsPropertyName(
	ref Utf8JsonReader reader,
	Type typeToConvert,
	JsonSerializerOptions options
)

Parameters

reader  Utf8JsonReader
The Utf8JsonReader to read from.
typeToConvert  Type
The type to convert.
options  JsonSerializerOptions
The options to use when reading the value.

Return Value

T
The value that was converted.

See Also