using System.Text.Json; using System.Text.Json.Serialization; namespace Acp; /// /// The single serializer configuration for all ACP messages. Property names are explicit /// ([JsonPropertyName] on every generated member), so no naming policy is applied; /// nulls are omitted on write. All polymorphism is driven by generated s /// attached to the union/enum types, so no reflection-based polymorphism is needed (AOT/trim-safe). /// public static class AcpJson { public static JsonSerializerOptions Options { get; } = new() { DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, PropertyNamingPolicy = null, }; }