Add JSON serialization to wrappers (.NET 6)

This commit is contained in:
Matt Nadareski
2023-01-13 10:41:50 -08:00
parent f85adda24c
commit 0fd0cf689a
26 changed files with 390 additions and 7 deletions

View File

@@ -2924,6 +2924,13 @@ namespace BurnOutSharp.Wrappers
}
}
#if NET6_0_OR_GREATER
/// <inheritdoc/>
public override string ExportJSON() => System.Text.Json.JsonSerializer.Serialize(_executable, _jsonSerializerOptions);
#endif
#endregion
#region Debug Data