|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
|
using Newtonsoft.Json.Serialization;
|
|
|
|
@ -25,6 +26,7 @@ namespace NzbDrone.Common.Serializer
|
|
|
|
|
|
|
|
|
|
SerializerSetting.Converters.Add(new StringEnumConverter { CamelCaseText = true });
|
|
|
|
|
SerializerSetting.Converters.Add(new IntConverter());
|
|
|
|
|
SerializerSetting.Converters.Add(new VersionConverter());
|
|
|
|
|
|
|
|
|
|
Serializer = JsonSerializer.Create(SerializerSetting);
|
|
|
|
|
|
|
|
|
|