mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
replaced Json.Serialize with ToJson extension method.
This commit is contained in:
@@ -17,9 +17,7 @@ namespace NzbDrone.Libraries.Test.JsonTests
|
||||
{
|
||||
var quality = new TypeWithNumbers { Id = 12 };
|
||||
|
||||
var json = Json.Serialize(quality);
|
||||
|
||||
Json.Deserialize<TypeWithNumbers>(json);
|
||||
Json.Deserialize<TypeWithNumbers>(quality.ToJson());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user