behrang / YamlSwift

Load YAML and JSON documents using Swift
MIT License
404 stars 97 forks source link

Are multiline values supported? #67

Closed SimplyDanny closed 6 years ago

SimplyDanny commented 6 years ago

I wonder whether multiline values like

key: |
    value1
    value2

are supported by your library. I always get parse errors trying to read such YAML files.

seivan commented 6 years ago

I am uncertain, but for now please use "value1\nvalue2" I can look into this when I get some time over.

behrang commented 6 years ago

The parsec branch is spec compliant and should support it.

SimplyDanny commented 6 years ago

Thanks! Maybe you should add a note about the master branch not being fully compliant with the specs.