mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-05 15:11:59 +08:00
Update Banner json output format
This commit is contained in:
1 parent
ed9b393478
commit
b37ead7acf
4 files changed
+1424
-1285
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user