tj/js-yaml

Add support for literal text

Closed this issue · 8 comments

tj commented

example:
- foo bar baz

foo: a bunch of stuff
bar: a bunch more random "stuff"

currently these values must be quoted

at this point the library is useless to read standard yaml files because values require quotes.

tj commented

for sure. I just dont have time to implement this ATM

Sorry for the insensitive comment. I was a bit frustrated after looking around for a library like this. Is there any code on the wild that we can use to implement a fuller YAML parsing feature? If there aren't I could volunteer some time.

tj commented

not that I know of, Ideally I would like to have syck bindings for v8

I was

hoping: |
  multi-
  line
  text
would: work

Without these niceties there's not much advantage over just using json.

tj commented

submit a patch :) I have had not had the need to extend this project from what I originally needed (yet)

Unquoted strings work now. Should be closed.

tj commented

done