Within block structures there is currently a 1024 character limit to see whether a node is a key for a new mapping or not. With a few changes this restriction can be removed.
When the explicit key indicator ‘?’ is not used, content must be scanned to see whether it is being used as a map key or not. Keys may by plain or quoted scalars, or flow collections. YAML 1.2 has a 1024 character scan limit. This is an ugly limitation and can hopefully be removed.
Implicit block mapping keys will have to be one line scalars. Anything else
requires them to be explicitly marked by the
? indicator. The primary change
is to no lonager allow implicit flow collections as keys. See RFC-7.
@ingydotnet - Does the 1024 limit also exist for nodes inside flow structures?