Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML parsed incorrectly? #179

Open
krillov opened this issue Oct 10, 2024 · 0 comments
Open

YAML parsed incorrectly? #179

krillov opened this issue Oct 10, 2024 · 0 comments

Comments

@krillov
Copy link

krillov commented Oct 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant