Skip to content

YAML parsed incorrectly? #179

@krillov

Description

@krillov

Hi,

I'm parsing the following YAML:

main:
  some key:
  any text here

using the code below:

YamlConfig yamlConfig = new YamlConfig();
YamlReader yamlReader = new YamlReader(yaml, yamlConfig);

I checked this YAML in different online parsers and according to them this YAML is incorrect. You can also see that the indentation is not right on the third row.

When I print out the parsed object I get the following:

{main={some key=any text here}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions