replaced Json.Serialize with ToJson extension method.

This commit is contained in:
Keivan Beigi 2013-05-29 14:29:51 -07:00
commit 8bdf8c31f0
10 changed files with 14 additions and 19 deletions

View file

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