Reworked the JSON serialisation

This commit is contained in:
2023-05-11 14:23:44 +02:00
parent 57028f1fc9
commit 025c2f8d61
6 changed files with 219 additions and 191 deletions
-12
View File
@@ -324,17 +324,5 @@ namespace Test_Merge
return d[string1.Length, string2.Length];
}
public virtual string ToJSON()
{
string result = "";
result += "\"" + Name + "\"" + ":{" + Environment.NewLine;
result += "\t" + "\"x\":" + Bounds.X + "," + Environment.NewLine;
result += "\t" + "\"y\":" + Bounds.Y + "," + Environment.NewLine;
result += "\t" + "\"width\":" + Bounds.Width + Environment.NewLine;
result += "}";
return result;
}
}
}