8000 [Yaml] YAMLDumper does not support writing using folded/literal style · Issue #16236 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Yaml] YAMLDumper does not support writing using folded/literal style #16236
Closed
@deanc

Description

@deanc

http://yaml.org/spec/1.2/spec.html#id2760844

Specifically, there is no way to output this:

>
 Sammy Sosa completed another
 fine season with great stats.

   63 Home Runs
   0.288 Batting Average

 What a year!

The main reason I find that this is odd, is if you use the YamlLoader and do zero processing on the data, and then immediately dump it back out again - it changes the file. I would expect the API's to be compatible (even if it requires configuration).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0