namespace Core.Utils.Json; public class DictionaryOrList(Dictionary? dictionary, List? list) { public Dictionary? Dictionary { get; } = dictionary; public List? List { get; } = list; public bool IsList => List != null; public bool IsDictionary => Dictionary != null; }