mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Add json constructor attributes
This commit is contained in:
@@ -197,7 +197,7 @@ namespace ArchiSteamFarm {
|
||||
private string _ChangelogHTML;
|
||||
private string _ChangelogPlainText;
|
||||
|
||||
// Deserialized from JSON
|
||||
[JsonConstructor]
|
||||
private ReleaseResponse() { }
|
||||
|
||||
internal sealed class Asset {
|
||||
@@ -210,7 +210,7 @@ namespace ArchiSteamFarm {
|
||||
[JsonProperty(PropertyName = "size", Required = Required.Always)]
|
||||
internal readonly uint Size;
|
||||
|
||||
// Deserialized from JSON
|
||||
[JsonConstructor]
|
||||
private Asset() { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user