Versions in this module Expand all Collapse all v0 v0.1.0 Oct 9, 2026 Changes in this version + var ErrExists = errors.New("key already exists") + var ErrNotFound = errors.New("key not found") + var ErrNotTable = errors.New("key does not hold a table") + var ErrNotValue = errors.New("key does not hold a value") + var ErrType = errors.New("wrong value type") + type Document struct + func Parse(src string, opts ...Option) (*Document, error) + func (d *Document) Delete(keys ...string) error + func (d *Document) Get(keys ...string) (any, bool) + func (d *Document) GetBool(keys ...string) (bool, error) + func (d *Document) GetFloat(keys ...string) (float64, error) + func (d *Document) GetInt(keys ...string) (int64, error) + func (d *Document) GetString(keys ...string) (string, error) + func (d *Document) Insert(path []string, value any, opts ...EditOption) error + func (d *Document) Set(path []string, value any) error + func (d *Document) String() string + type EditOption func(*editConfig) + func Multiline() EditOption + type Option = parser.Option + func Strict10() Option