public ExcelValue Get(ExcelValue key, ExcelValue path)
        {
            JObject target;

            if (key is ExcelValue.JsonObjectValue)
            {
                target = (JObject)key.InnerValue;
            }
            else
            {
                target = (JObject)Get(key.Text).InnerValue;
            }
            return(ExcelValue.Create(target.SelectToken(path.Text), OutLanguage));
        }
 public ExcelValue Get(string key)
 {
     if (sourceValues.ContainsKey(key))
     {
         return(sourceValues[key]);
     }
     if (sources.Any(o => o.Name == key || o.Cell == key))
     {
         return(ExcelValue.Create(sources.First(o => o.Name == key || o.Cell == key).Payload, OutLanguage));
     }
     if (values.ContainsKey(key))
     {
         return(values[key]);
     }
     if (key.Contains(':'))
     {
         return(GetRangeValues(key));
     }
     return(ExcelValue.NULL);
     //throw new InvalidOperationException($"Name or cell {key} not found in scope.");
 }