-
-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Describe the bug
the name of an embedded struct shows up in the resulting yaml. This should not occur. The below playground shows the difference between goccy/go-yaml and encoding/json.
To Reproduce
https://go.dev/play/p/tIYvGgf9qiR
Expected behavior
The embedded struct's name does not show up the output, only it's fields.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Variables
- Go version: 1.25
- go-yaml's Version: v1.18.0
Additional context
n/a
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested