mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3168] [CLOSED] Add JsonNonStringKeyDictionaryConverter and Factory #9366
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/3168
Author: @crobibero
Created: 5/24/2020
Status: ❌ Closed
Base:
api-migration← Head:api-json-dictionary📄 Description
part of #2872
Currently, System.Text.Json does not support Dictionaries that don't use
stringkeys.This converter and factory allow the JSON middleware to serialize and deserialize these dictionaries.
The roadmap for System.Text.Json has this feature slated for .NET 5.0
These dictionaries also cause errors with the docs generation, so the following will have to be added for each dictionary we intend on returning: src
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.