Validate!
- If it is important to have a certain type in a certain place in a YAML file...
- (Same actually goes for JSON - what about forgetting to quote the zip code (string!) "01234"?)
- then use a Schema Validator! e.g. JSON Schema
- We are using that for all our YAML files in openQA
- Also protects you from processing an unexpected data stucture with a
recursive tree of aliases ("Billion laughs attack", which is not a problem of
YAML itself actually)
Slide 26/41
BACK
UP
NEXT
next: ( space / -> / page up ) | previous: ( backspace / <- / page down ) |
next page: ( shift + page down ) | previous page: ( shift + page up ) |
index: ( arrow-up )