You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
I need a way to treat sub-structs as if they are anonymously embedded when marshalling/unmarshalling to json. Is this possible with jsoniter extensions? Couldn't find any documentation on extensions.
Please help
type Entity struct {
Metadata *Metadata <-- Treat this as if it were just *Metadata during marshal/unmarshal
UpdatedAt string `json:"/updatedAt"`
Id string `json:"/id"`
}