We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
YAML::Tiny does not parse correctly this YAML:
- foo: bar: - foo2: bar2: {}
It should produce this:
$ perl -MYAML::PP -MData::Dumper -E 'my $data = YAML::PP::LoadFile("test.yml"); say Dumper($data);' $VAR1 = [ { 'foo' => { 'bar' => undef } }, { 'foo2' => { 'bar2' => {} } } ];
But YAML::Tiny store foo2 item in bar value instead of leaving bar undef:
foo2
bar
perl -MYAML::Tiny -MData::Dumper -E 'my $data = YAML::Tiny->read("test.yml"); say Dumper($data);' $VAR1 = bless( [ [ { 'foo' => { 'bar' => [ { 'foo2' => { 'bar2' => {} } } ] } } ] ], 'YAML::Tiny' );
This was tested on Debian/unstable with:
All the best
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
YAML::Tiny does not parse correctly this YAML:
It should produce this:
But YAML::Tiny store
foo2
item inbar
value instead of leavingbar
undef:This was tested on Debian/unstable with:
All the best
The text was updated successfully, but these errors were encountered: