map (dictionary)
Map values (AKA Dictionaries) allow you to store key-value pairs.
Most of BAML (clients, tests, classes, etc) is represented as a map.
Syntax
To declare a map in a BAML file, you can use the following syntax:
Key Points:
- Colons: Not used in BAML maps; keys and values are separated by spaces.
- Value Types: Maps can contain unquoted or quoted strings, booleans, numbers, and nested maps as values.
- Classes: Classes in BAML are represented as maps with keys and values.