Versions in this module Expand all Collapse all v0 v0.1.0 Jan 24, 2024 Changes in this version + func Marshal(value interface{}) ([]byte, error) + func MarshalRoot(value interface{}) ([]byte, error) + func RegisterUnion(typ reflect.Type, discriminator string, variants ...UnionVariant) + func Unmarshal(raw []byte, to any) error + func UnmarshalRoot(raw []byte, to any) error + type Field struct + func (j Field) IsInvalid() bool + func (j Field) IsMissing() bool + func (j Field) IsNull() bool + func (j Field) Raw() string + type UnionVariant struct + DiscriminatorValue interface{} + Type reflect.Type + TypeFilter gjson.Type