TekH fa46dd1fa8 feat(Format): create to centrilize the formats.
- Add json serializer settings for diagnostics and implement to DocumentController
2025-09-03 11:06:47 +02:00

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
}
}