Versions in this module Expand all Collapse all v0 v0.2.0 Nov 21, 2026 Changes in this version + func Equal(a, b Value) bool + func Format(src []byte) ([]byte, error) + func FormatValue(v Value) []byte + func ToJSON(f *File, plain bool) ([]byte, error) + func ValueHint(v Value) string + type Bool bool + type Decimal string + type Enum string + type Error struct + Code string + File string + Hint string + Msg string + Path string + Pos Pos + func (e *Error) Error() string + type ErrorList struct + Errors []*Error + func (l *ErrorList) Error() string + type Field struct + Key string + Value Value + type File struct + func FromJSON(src []byte) (*File, error) + func Parse(name string, src []byte) (*File, error) + func (f *File) Data() Record + func (f *File) Delete(path string) error + func (f *File) Format() []byte + func (f *File) Get(path string) (Value, error) + func (f *File) Locate(path []string) (Location, bool) + func (f *File) Name() string + func (f *File) Set(path string, v Value) error + func (f *File) Version() string + type Int int64 + type List []Value + type Location struct + Elems []Pos + Key Pos + Value Pos + type Pos struct + Col int + Line int + func (p Pos) String() string + type Quantity struct + Number string + Unit string + type Record struct + Fields []Field + type Ref []string + type String string + type Value interface + func ParseValue(src []byte) (Value, error)