This is very specific, but it left me at a standstill. We consider nested keys + regular arrays almost the same when parsing - sometimes adding additional information when necessary, for example:
--- Entry 1: - lorem: true - ipsum - dolor Entry 2: - lorem - ipsum: true - dolor ...
... which gives me this JSON:
{ "Entry 2": [ "lorem", { "ipsum": true }, "dolor" ], "Entry 1": [ { "lorem": true }, "ipsum", "dolor" ] }
Everything is cool and beautiful. Entering multi-line strings for content becomes useless, but it still works fine (keep pasting them in Online YAML Parser or some other compiler for reference):
---
going deeper, multiline strings in my second level array, as expected in the spec:
---
Wohoo! But as soon as I mix multiline keys and multiline array strings at the same level, my setup aborts:
---
How to fix it?
source share