using System.Text.Json; using System.Text.Json.Serialization; namespace OCSentinelCli; internal static class JsonOptions { public static readonly JsonSerializerOptions Default = new() { WriteIndented = true, // Client configuration is also written by PowerShell/NinjaOne scripts. // Accept their conventional camelCase names (for example n8nWebhookUrl). PropertyNameCaseInsensitive = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull }; }