using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace ModpackUpdater; [JsonConverter(typeof(StringEnumConverter)), Flags] public enum Side { Client = 1, Server = 2, Both = Client | Server, }