mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Moved source code under src folder - massive change
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using NzbDrone.Common.Serializer;
|
||||
|
||||
namespace NzbDrone.Test.Common
|
||||
{
|
||||
public static class ObjectExtentions
|
||||
{
|
||||
public static T JsonClone<T>(this T source) where T : new()
|
||||
{
|
||||
var json = source.ToJson();
|
||||
return Json.Deserialize<T>(json);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user