yq/pkg/yqlib/encoder.go
Mike Farah 1c9f001171 wip
2024-03-12 16:43:53 +11:00

13 lines
247 B
Go

package yqlib
import (
"io"
)
type Encoder interface {
Encode(writer io.Writer, node *CandidateNode) error
PrintDocumentSeparator(writer io.Writer) error
PrintLeadingContent(writer io.Writer, content string) error
CanHandleAliases() bool
}