Method WriteAsPropertyName
WriteAsPropertyName(Utf8JsonWriter, IPath, JsonSerializerOptions)
Writes a dictionary key as a JSON property name.
Declaration
public override void WriteAsPropertyName(Utf8JsonWriter writer, IPath value, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonWriter | writer | The Utf8JsonWriter to write to. |
| IPath | value | The value to convert. The value of HandleNull determines if the converter handles null values. |
| JsonSerializerOptions | options | The options to use when writing the value. |