Update Banner json output format

This commit is contained in:
2022-05-21 16:29:31 +08:00
parent ed9b393478
commit b37ead7acf
4 changed files with 1424 additions and 1285 deletions

View File

@@ -292,7 +292,11 @@ namespace GrasscutterTools.Forms
{
var banner = ParseBanner();
if (banner != null)
TxtJson.Text = JsonConvert.SerializeObject(banner, Formatting.Indented);
{
var json = JsonConvert.SerializeObject(banner);
json = json.Replace(",\"", ",\r\n \"").Insert(1, "\r\n ");
TxtJson.Text = json.Insert(json.Length-1, "\r\n");
}
}
catch (Exception ex)
{