EsotericSoftware / EsotericSoftware/yamlbeans

YAML parsed incorrectly?

Open
#179 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
568
Forks
146
PR merge metrics
No merged PRs in 30d

Description

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}}
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.