-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
go-yaml v1.14.3 panic on the the input JSON string for the map slice type. #543
Comments
@Peefy Probably because of the use of the tab character. This appears to be the correct behavior, since YAML does not allow tabs to be specified for indent. For example, can |
Sorry, I'm not sure how the YAML specification is defined, I have used the |
|
Thank you for your additional information. |
@Peefy I've fixed this problem with v1.15.0 ! Please confirm it 🙏 |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Please provide a minimum yaml content that can be reproduced.
We are more than happy to use Go Playground
Use the go 1.23 and
github.com/goccy/go-yaml v1.14.3
to run the following test, it will panic with the error message butgithub.aaakk.us.kg/goccy/go-yaml
v1.13.8
work fineThe error message is
Expected behavior
A clear and concise description of what you expected to happen.
Test passed
Screenshots
If applicable, add screenshots to help explain your problem.
Version Variables
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: