Question / Feature Request
Question
Is there a built-in way to use the ["key"] indexer directly on Dictionary<string, object> inside {{ ... }} expressions in ClosedXML.Report templates?
If not, are there recommended best practices for working with nested dictionaries (e.g. Dictionary<string, object> containing other dictionaries) in templates?
Sample data structure
var items = new List<Dictionary<string, object>>
{
new Dictionary<string, object>
{
["id"] = 1,
["nodes"] = new Dictionary<string, object>
{
["dynamic_node"] = new Dictionary<string, object>
{
["availability"] = "Available"
}
}
}
};
Question / Feature Request
Question
Is there a built-in way to use the
["key"]indexer directly onDictionary<string, object>inside{{ ... }}expressions in ClosedXML.Report templates?If not, are there recommended best practices for working with nested dictionaries (e.g.
Dictionary<string, object>containing other dictionaries) in templates?Sample data structure