mirror of
https://github.com/ppy/osu
synced 2025-01-20 13:00:54 +00:00
Revert unintended change
This commit is contained in:
parent
4232a54b32
commit
9787788081
@ -16,7 +16,7 @@ namespace osu.Game.IO.Serialization
|
||||
|
||||
public static T Deserialize<T>(this string objString) => JsonConvert.DeserializeObject<T>(objString, CreateGlobalSettings());
|
||||
|
||||
public static void DeserializeInto<T>(this string objString, T target) => JsonConvert.DeserializeAnonymousType(objString, target, CreateGlobalSettings());
|
||||
public static void DeserializeInto<T>(this string objString, T target) => JsonConvert.PopulateObject(objString, target, CreateGlobalSettings());
|
||||
|
||||
public static T DeepClone<T>(this T obj) where T : IJsonSerializable => Deserialize<T>(Serialize(obj));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user