DebugSettings: use MemberSerialization.OptIn so it only deserializes fields/properties with JsonPropertyAttribute

This commit is contained in:
JohnCorby 2022-02-22 23:40:08 -08:00
parent 1924dd6899
commit 1f41cf8c32

View File

@ -2,6 +2,7 @@
namespace QSB.Utility
{
[JsonObject(MemberSerialization.OptIn)]
public class DebugSettings
{
[JsonProperty("useKcpTransport")]