Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2026 Changes in this version + func TypeName(v Value) string + func Unmarshal(val Value, target any) error + type LuaUnmarshaler interface + UnmarshalLua func(v Value) error + type Option interface + Apply func(*Unmarshaler) + func WithHandler[T any](handler func(v Value) (T, error)) Option + type PolymorphicBuilder struct + func Polymorphic[T any](field string) *PolymorphicBuilder[T] + func (b *PolymorphicBuilder[T]) AddType[C any](discriminator string) *PolymorphicBuilder[T] + func (b *PolymorphicBuilder[T]) Add[C any](discriminator string, fn func(C) (T, error)) *PolymorphicBuilder[T] + func (b *PolymorphicBuilder[T]) Apply(u *Unmarshaler) + type Table iter.Seq2[Value, Value] + type Unmarshaler struct + func NewUnmarshaler(opts ...Option) *Unmarshaler + func (u *Unmarshaler) RegisterHandler[T any](handler func(v Value) (T, error)) error + func (u *Unmarshaler) Unmarshal(val Value, target any) error + type UnsupportedType string + type Value struct + func NewValue[T ~bool | ~float64 | ~string | Table](v T) Value + func (v Value) Any() any