chore(json): Cleans up json converters (#576)
This commit is contained in:
parent
16c62f36b5
commit
bdf0dbde1e
5 changed files with 0 additions and 168 deletions
|
|
@ -19,7 +19,6 @@ using System.IO;
|
|||
using System.Text.Encodings.Web;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using Server.Json.Converters;
|
||||
using Server.Text;
|
||||
|
||||
namespace Server.Json
|
||||
|
|
@ -40,14 +39,12 @@ namespace Server.Json
|
|||
Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping
|
||||
};
|
||||
|
||||
options.Converters.Add(new JsonNullableEnumConverterFactory());
|
||||
options.Converters.Add(new JsonStringEnumConverter());
|
||||
options.Converters.Add(new MapConverterFactory());
|
||||
options.Converters.Add(new Point3DConverterFactory());
|
||||
options.Converters.Add(new Rectangle3DConverterFactory());
|
||||
options.Converters.Add(new TimeSpanConverterFactory());
|
||||
options.Converters.Add(new IPEndPointConverterFactory());
|
||||
options.Converters.Add(new NullableStructSerializerFactory());
|
||||
options.Converters.Add(new TypeConverterFactory());
|
||||
options.Converters.Add(new WorldLocationConverterFactory());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue