public struct ArrayInstanceData { public string Name; public bool IsDictionary; public Dictionary<string, DataValue> Data; public DataValue Value => Data["value"]; // non dictionary public ArrayInstanceData() { Name = "NULL"; // unset default IsDictionary = true; // default Data = new Dictionary<string, DataValue>(); } } public struct ArrayContainer { public ArrayInstanceData[] Data; }
ArrayInstanceData[] Data