Use shorter syntax for json properties

This commit is contained in:
Archi
2022-03-22 16:33:47 +01:00
parent 6c570738ee
commit cc83222c3e
26 changed files with 90 additions and 90 deletions

View File

@@ -55,7 +55,7 @@ internal static class CatAPI {
#pragma warning disable CA1812 // False positive, the class is used during json deserialization
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
private sealed class MeowResponse {
[JsonProperty(PropertyName = "file", Required = Required.Always)]
[JsonProperty("file", Required = Required.Always)]
internal readonly string Link = "";
[JsonConstructor]