20 lines
587 B
C#
20 lines
587 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Serialization;
|
|
|
|
namespace EnvelopeGenerator.Domain.Constants
|
|
{
|
|
public class Format
|
|
{
|
|
#region Json Serializer Settings
|
|
public static class Json
|
|
{
|
|
public static readonly JsonSerializerSettings ForDiagnostics = new JsonSerializerSettings()
|
|
{
|
|
ContractResolver = new CamelCasePropertyNamesContractResolver(),
|
|
Formatting = Formatting.Indented,
|
|
NullValueHandling = NullValueHandling.Include
|
|
};
|
|
}
|
|
#endregion
|
|
}
|
|
} |