strip price from bulk
This commit is contained in:
parent
2463ee522e
commit
64d16b8d81
@ -74,6 +74,10 @@ namespace creatureBirdDwarf
|
|||||||
{
|
{
|
||||||
string responseFromServer = dataStream.ReadToEnd();
|
string responseFromServer = dataStream.ReadToEnd();
|
||||||
defaultList = JsonConvert.DeserializeObject<List<Card>>(responseFromServer);
|
defaultList = JsonConvert.DeserializeObject<List<Card>>(responseFromServer);
|
||||||
|
foreach (var card in defaultList)
|
||||||
|
{
|
||||||
|
card.prices = null;
|
||||||
|
}
|
||||||
File.WriteAllText("./default.json", JsonConvert.SerializeObject(defaultList, Formatting.Indented));
|
File.WriteAllText("./default.json", JsonConvert.SerializeObject(defaultList, Formatting.Indented));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user