mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -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
|
@ -35,7 +35,7 @@ namespace NzbDrone.Common.Serializer
|
|||
return JsonConvert.DeserializeObject(json, type);
|
||||
}
|
||||
|
||||
public static string Serialize(object obj)
|
||||
public static string ToJson(this object obj)
|
||||
{
|
||||
return JsonConvert.SerializeObject(obj);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue