πŸ“– YAML Dictionaries (Mappings)

In YAML, a dictionary (called a mapping) is a collection of key-value pairs. It’s basically like a JSON object or Python dict but way easier to read thanks to indentation.

πŸ“ Example: Basic Dictionary

Parsed key values will appear here...
πŸ’‘ Pro Tip: YAML mappings use key: followed by a space and value. Indent nested mappings with consistent 2 or 4 spaces.

πŸ“‘ Nesting Dictionaries

Dictionaries can nest inside each other for deeper data structures.

πŸ“Œ This is how config files, manifests, and structured settings are usually built.

πŸ“š Summary

🧠 Bonus: Inline Dictionaries

You can also write simple one-line mappings with curly braces if needed, but multi-line nested style is clearer and preferred in YAML culture.