resolver
v1.15.5
github.com/bytedance/sonic/internal/resolver
Documentation
pkg.go.dev ↗Types
FieldMeta
type FieldMeta struct {
Name string
Path []Offset
Opts FieldOpts
Type reflect.Type
IsZero func(reflect.Value) bool
}
ResolveStruct
func ResolveStruct(vt reflect.Type) []FieldMeta
FieldMeta.String
func (self *FieldMeta) String() string
FieldOpts
type FieldOpts int
F_omitempty (3 declarations)
const ( F_omitempty FieldOpts = 1 << iota F_stringize F_omitzero )
Offset
type Offset struct {
Size uintptr
Kind OffsetType
Type reflect.Type
}
OffsetType
type OffsetType int
F_offset (2 declarations)
const ( F_offset OffsetType = iota F_deref )
StdField
type StdField struct {
// contains filtered or unexported fields
}
StdStructFields
type StdStructFields struct {
// contains filtered or unexported fields
}