Fixed the JSON and added driver names to it, but hardcoded for now
This commit is contained in:
+5
-5
@@ -121,13 +121,13 @@ namespace OCR_tester
|
||||
result += "\t" + "\"Zones\":[" + Environment.NewLine;
|
||||
result += "\t\t{" + Environment.NewLine;
|
||||
int Zcount = 0;
|
||||
foreach (Zone z in Zones)
|
||||
{
|
||||
result += "\t\t" + z.ToJSON();
|
||||
//foreach (Zone z in Zones)
|
||||
//{
|
||||
result += "\t\t" + Zones[0].ToJSON();
|
||||
Zcount++;
|
||||
if (Zcount != Zones.Count)
|
||||
result += ",";
|
||||
}
|
||||
//result += ",";
|
||||
//}
|
||||
result += "\t\t}" + Environment.NewLine;
|
||||
result += "\t" + "]" + Environment.NewLine;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user