More data object creation and test commands
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
using SessionZero.Data.Sztl;
|
||||
|
||||
namespace SessionZero.Data;
|
||||
@@ -93,4 +94,9 @@ public class SzObject
|
||||
Fields[lastPart].Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return JsonSerializer.Serialize(this, new JsonSerializerOptions { WriteIndented = true });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user