mirror of
https://github.com/ppy/osu
synced 2025-03-06 03:19:47 +00:00
Add back the default json converter locally to ensure it's actually used
This commit is contained in:
parent
86b229b1c9
commit
4795170c60
@ -1,7 +1,9 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Framework.IO.Serialization;
|
||||
|
||||
namespace osu.Game.IO.Serialization
|
||||
{
|
||||
@ -27,6 +29,7 @@ namespace osu.Game.IO.Serialization
|
||||
Formatting = Formatting.Indented,
|
||||
ObjectCreationHandling = ObjectCreationHandling.Replace,
|
||||
DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate,
|
||||
Converters = new List<JsonConverter> { new Vector2Converter() },
|
||||
ContractResolver = new KeyContractResolver()
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user