Project restructuring.
This commit is contained in:
@@ -22,6 +22,7 @@ public class MangaDexEntityConverter : JsonConverter<MangaDexEntity>
|
||||
"chapter" => JsonSerializer.Deserialize<ChapterEntity>(root.GetRawText(), options),
|
||||
"scanlation_group" => JsonSerializer.Deserialize<ScanlationGroupEntity>(root.GetRawText(), options),
|
||||
"cover_art" => JsonSerializer.Deserialize<CoverArtEntity>(root.GetRawText(), options),
|
||||
"user" => JsonSerializer.Deserialize<UserEntity>(root.GetRawText(), options),
|
||||
_ => throw new NotSupportedException($"Unknown type '{type}'")
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user