Link
This commit is contained in:
parent
f1831c78a8
commit
b9f9dd7cff
@ -74,6 +74,7 @@ namespace OWTrack
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
//https://stackoverflow.com/questions/7947005/how-to-turn-on-indentation-when-writing-json-using-json-net
|
||||||
JsonConvert json = new JsonConvert();//Not tested
|
JsonConvert json = new JsonConvert();//Not tested
|
||||||
json.Formatting = Formatting.Indented;
|
json.Formatting = Formatting.Indented;
|
||||||
File.WriteAllText(Paths.SAVES, json.SerializeObject(tracker));//check if (Indented) Parameter exists
|
File.WriteAllText(Paths.SAVES, json.SerializeObject(tracker));//check if (Indented) Parameter exists
|
||||||
|
Loading…
Reference in New Issue
Block a user