Subject: | YAML.pm 0.62 cannot parse flow style with leading spaces. |
YAML.pm 0.62 cannot parse flow style with leading spaces.
ysh > ---
Show quoted text
yaml> Flow style: [ # Leading spaces
yaml> By two, # in flow style
yaml> Also by two, # are neither
yaml> →Still by two # content nor
yaml> ] # indentation.
yaml> ...
YAML Load Failed:
YAML Error: Inconsistent indentation level
Code: YAML_PARSE_ERR_INCONSISTENT_INDENTATION
Line: 3
Document: 1
---
from Example 4.16. Indentation Spaces
(http://yaml.org/spec/current.html#id2519916)