丰富JSON序列化支持

This commit is contained in:
nilaoda 2022-11-12 23:41:34 +08:00
parent 78d5be2da4
commit 0e9d84f529
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ namespace N_m3u8DL_RE.Common
[JsonSerializable(typeof(Choise))]
[JsonSerializable(typeof(StreamSpec))]
[JsonSerializable(typeof(IOrderedEnumerable<StreamSpec>))]
[JsonSerializable(typeof(IEnumerable<MediaSegment>))]
[JsonSerializable(typeof(List<StreamSpec>))]
[JsonSerializable(typeof(Dictionary<string, string>))]
internal partial class JsonContext : JsonSerializerContext { }