Ombi/src/Ombi.Helpers/SerializerSettings.cs
2017-05-16 08:31:44 +01:00

15 lines
449 B
C#

using Newtonsoft.Json;
namespace Ombi.Helpers
{
public static class SerializerSettings
{
public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings
{
Formatting = Formatting.None,
//TypeNameHandling = TypeNameHandling.Objects,
//TypeNameAssemblyFormat = FormatterAssemblyStyle.Simple,
NullValueHandling = NullValueHandling.Ignore
};
}
}