Underscore + lowercase all keys

This commit is contained in:
smoogipoo
2017-12-07 14:36:32 +09:00
parent dfc10d42e8
commit 245b5f759f
5 changed files with 28 additions and 10 deletions

View File

@ -30,7 +30,8 @@ namespace osu.Game.IO.Serialization
Formatting = Formatting.Indented,
ObjectCreationHandling = ObjectCreationHandling.Replace,
DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate,
Converters = new JsonConverter[] { new Vector2Converter() }
Converters = new JsonConverter[] { new Vector2Converter() },
ContractResolver = new KeyContractResolver()
};
}
}