jsYaml.safeDump({key: 'value'}, {
flowLevel: 0,
indent: 0,
lineWidth: Infinity,
noCompatMode: true,
sortKeys: true,
noRefs: true,
condenseFlow: true
})
results in actual YAML:
but parsing that with safeLoad() results in
Expected YAML:
{"key":value}
# or
{key: value}
which results in
it would be best if the quoting of the key would be controlled by a quoteKeys setting.
cc @eseliger
results in actual YAML:
{key:value}but parsing that with
safeLoad()results inExpected YAML:
which results in
it would be best if the quoting of the key would be controlled by a
quoteKeyssetting.cc @eseliger