mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Don't serialize AdditionalProperties for Asset (#2393)
* Don't serialize AdditionalProperties for Asset * Don't serialize additional properties in InventoryResponse as well
This commit is contained in:
@@ -88,7 +88,7 @@ namespace ArchiSteamFarm.Steam.Data {
|
||||
[PublicAPI]
|
||||
public EType Type { get; internal set; }
|
||||
|
||||
[JsonExtensionData]
|
||||
[JsonExtensionData(WriteData = false)]
|
||||
internal Dictionary<string, JToken>? AdditionalProperties { private get; set; }
|
||||
|
||||
[JsonProperty(PropertyName = "amount", Required = Required.Always)]
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace ArchiSteamFarm.Steam.Data {
|
||||
}
|
||||
}
|
||||
|
||||
[JsonExtensionData]
|
||||
[JsonExtensionData(WriteData = false)]
|
||||
internal Dictionary<string, JToken>? AdditionalProperties {
|
||||
get;
|
||||
[UsedImplicitly]
|
||||
|
||||
Reference in New Issue
Block a user