Adds support for nullable structs (#203)

This commit is contained in:
Kamron Batman 2020-08-29 18:47:00 -07:00 committed by GitHub
parent 259fdb5ae8
commit c4e7f47ada
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -46,6 +46,7 @@ namespace Server.Json
options.Converters.Add(new Rectangle3DConverterFactory());
options.Converters.Add(new TimeSpanConverterFactory());
options.Converters.Add(new IPEndPointConverterFactory());
options.Converters.Add(new NullableStructSerializerFactory());
for (var i = 0; i < converters.Length; i++) options.Converters.Add(converters[i]);