mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
replaced Json.Serialize with ToJson extension method.
This commit is contained in:
parent
676599c520
commit
8bdf8c31f0
10 changed files with 14 additions and 19 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue