Earlier quoted context omitted.
The page says, "Objects may be created using indentation instead of explicit braces, similar to YAML. " Similar to YAML? What exactly does that mean? Is there someplace that explains the specific indentation rules? The indentation rules of YAML are massively borked; it's not enough that something be indented, it has to be indented a very specific number of spaces. As opposed to, say, Haskell's more sane off-side rule…
I'm afraid that's not correct. You can use arbitrary number of spaces to indent a block in YAML[1]. It does't matter if it's 2 of 4 or 17. The only limitations are that it must be greater than the indentation of the parent node (obviously), that all siblings must have the same indentation and that tabs are not allowed. Are you sure you're not mistaking this with HAML? It's a bit stricter with the indentation requirem…
Well, shit.
Thanks; how did I miss that?
"Are you sure you're not mistaking this with HAML? It's a bit stricter with the indentation requirements."
Oh, that I know. One reason I avoid it.