Alex Kocharin
Alex Kocharin
> I didn't go deeply into the code but if this is possible to get and if you are OK with it I can even try to implement it and...
> It seems strange that the shorter version (good) does preserve literal block style, but the longer one does not. Am I missing something subtle about using the library? You...
Does it break anything? Are there any strings with numbers and underscores that should stay strings? found this issue, kinda similar https://github.com/symfony/symfony/issues/27120 > Based on the spec for YAML 1.2,...
I've checked, there are 2 differences with YAML 1.2 core schema left: - support for underscores in integers/floats (we do, they don't) - support for binary ints like `0b10101` (we...
> I'm dumping 3d graphics state and having every matrix and vector come out one element per line is super verbose looking. You can use this hack at your own...
Can't easily do this at the moment, because it'll require changing internal data structures from objects to Maps. Planned for "maybe later". see also https://github.com/nodeca/js-yaml/issues/329
Just to clarify: can't do *full* support for Set at this moment (without major rewrites). Limited support (where Set members can only be strings) is possible, and you can implement...
`pyyaml` parses this, however http://ben-kiki.org/ypaste/ (which is specified as reference parser) does not. Gonna check it again later, but I think we should require a space after colon there?
`on` without quotes is a boolean `true` value in YAML 1.0, old version of the spec: https://yaml.org/type/bool.html so it's intentional, but we probably should drop support for that at some...
```js > require('js-yaml').loadAll("") [] > require('js-yaml').loadAll("\n") [] > require('js-yaml').loadAll("\n\n") [ null ] > require('js-yaml').loadAll("# hmm") [ null ] ``` So `load` returns `null` if there is one document and `undefined`...