Skip to content

Implement the dictionary key (de)serialization for the System.Text.Json converterย #113

@Varveyn

Description

@Varveyn

Since dotnet/runtime#46520 has been implemented, the JsonConverter now has the ReadAsPropertyName and WriteAsPropertyName methods, which could be used to allow using strongly-typed IDs as dictionary keys during the (de)serialization. Would be great to have this behavior out-of-the-box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions