- aggiunta output XML
- fix struttura dati
This commit is contained in:
Samuele Locatelli
2023-02-13 13:15:37 +01:00
parent 0b40b0cd22
commit 5bf47fd008
10 changed files with 35 additions and 16 deletions
+2 -2
View File
@@ -184,9 +184,9 @@ namespace MP.Data.Controllers
foreach (var item in currRecipe.RowsVal)
{
var rowsStrings = item.Value.Select(x => $"\"{x.Key}\": \"{x.Value}\"").ToList();
rowComp.Add($"{Environment.NewLine}{sRow}{string.Join(",", rowsStrings)}{eRow}");
rowComp.Add($"{sRow}{string.Join(",", rowsStrings)}{eRow}");
}
string rowsVals = string.Join(",", rowComp);
string rowsVals = string.Join($",{Environment.NewLine}", rowComp);
//...poi sostituisco
answ = answ.Replace("||PlaceholderRows||", rowsVals);
}