Revert unintended change

This commit is contained in:
smoogipoo 2017-12-07 03:39:43 +09:00
parent 4232a54b32
commit 9787788081

View File

@ -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));