...

Package resolver

import "github.com/bytedance/sonic/internal/resolver"
Overview
Index

Overview ▾

type FieldMeta

type FieldMeta struct {
    Name string
    Path []Offset
    Opts FieldOpts
    Type reflect.Type
}

func ResolveStruct

func ResolveStruct(vt reflect.Type) []FieldMeta

func (*FieldMeta) String

func (self *FieldMeta) String() string

type FieldOpts

type FieldOpts int
const (
    F_omitempty FieldOpts = 1 << iota
    F_stringize
)

type Offset

type Offset struct {
    Size uintptr
    Kind OffsetType
    Type reflect.Type
}

type OffsetType

type OffsetType int
const (
    F_offset OffsetType = iota
    F_deref
)

type StdField

type StdField struct {
    // contains filtered or unexported fields
}

type StdStructFields

type StdStructFields struct {
    // contains filtered or unexported fields
}