Tag
YAML
YAML files: indentation rules, the implicit typing that turns a country code into a boolean, multiline strings, and keeping configuration readable.
7 posts
TOML vs YAML vs JSON for Configuration Files: How to Choose
Comparing TOML, YAML and JSON for config files: readability, comments, safety, nesting, tooling and the situations where each one is the best choice.
YAML Configuration File Best Practices for Readable, Safe Config
Practical rules for writing YAML config: consistent indentation, quoting, comments, anchors, secrets, validation and structure that other people can maintain.
YAML Gotchas: The Norway Problem, Version Numbers and Other Surprises
Why a country code becomes false and 1.10 becomes 1.1: YAML's implicit typing explained, with the values most likely to be misread and how to quote them.
YAML Multiline Strings: Literal, Folded and Chomping Indicators Explained
How to write multiline text in YAML. The literal and folded block styles, the strip and keep chomping indicators, and when to use quoted strings instead.
How to Fix YAML Indentation Errors and "Mapping Values" Messages
Decode YAML errors such as "mapping values are not allowed here" and "did not find expected key". Fix tabs, misaligned lists, missing spaces and bad nesting.
What Is a YAML File? Syntax, Uses and How to Open One
A YAML file stores structured data in a readable, indentation-based format. Learn the syntax, where .yml and .yaml files are used and how to edit them safely.
JSON vs YAML: Differences, Syntax and Which to Choose
JSON and YAML both store structured data, but they suit different jobs. Compare syntax, comments, readability, safety and when to pick each.