LoggingOptions.NamespaceLogLevelDictionaryJsonConverter

public class LoggingOptions.NamespaceLogLevelDictionaryJsonConverter :
    JsonConverter<Dictionary<string, LogLevel?>>

1. Methods

1.1. Read(Utf8JsonReader, Type, JsonSerializerOptions)

public override Dictionary<string, LogLevel?> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Table 1. Parameters
Name Type Description

reader

Utf8JsonReader

typeToConvert

Type

options

JsonSerializerOptions

Returns: Dictionary<string, LogLevel?>

1.2. Write(Utf8JsonWriter, Dictionary<string, LogLevel?>, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, Dictionary<string, LogLevel?> value, JsonSerializerOptions options)
Table 2. Parameters
Name Type Description

writer

Utf8JsonWriter

value

Dictionary<string, LogLevel?>

options

JsonSerializerOptions