File System File System
File System File System
DocFX + Singulink = ♥

Search Results for

    Method ReadAsPropertyName

    ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Reads a dictionary key from a JSON property name.

    Declaration
    public override IFilePath ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    Parameters
    Type Name Description
    Utf8JsonReader reader

    The Utf8JsonReader to read from.

    Type typeToConvert

    The type to convert.

    JsonSerializerOptions options

    The options to use when reading the value.

    Returns
    Type Description
    IFilePath

    The value that was converted.

    Overrides
    JsonConverter<IFilePath>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
    Exceptions
    Type Condition
    JsonException

    The property name is not a valid path.

    © Singulink. All rights reserved.