package
1.27.3
Repository: https://github.com/tomwright/dasel.git
Documentation: pkg.go.dev

# Functions

Colourise colourises the given string.
ColouriseBuffer colourises the given buffer in-place.
ColouriseOption returns an option that enables or disables colourised output.
EscapeHTMLOption returns an option that enables or disables HTML escaping.
IndentOption returns a write option that sets the given indent.
Load loads data from the given io.Reader.
LoadFromFile loads data from the given file.
NewReadParserFromFilename returns a ReadParser from the given filename.
NewReadParserFromString returns a ReadParser from the given parser name.
NewWriteParserFromFilename returns a WriteParser from the given filename.
NewWriteParserFromString returns a WriteParser from the given parser name.
PrettyPrintOption returns an option that enables or disables pretty printing.
Write writes the value to the given io.Writer.

# Constants

ColouriseFormatter is the formatter used when colourising output.
ColouriseStyle is the style used when colourising output.
OptionColourise is the key used with ColouriseOption.
OptionEscapeHTML is the key used with EscapeHTMLOption.
OptionIndent is the key used with IndentOption.
OptionPrettyPrint is the key used with PrettyPrintOption.

# Variables

ErrPlainParserNotImplemented is returned when you try to use the PlainParser.FromBytes func.

# Structs

BasicMultiDocument represents a multi-document file.
BasicSingleDocument represents a single document file.
CSVDocument represents a CSV file.
CSVParser is a Parser implementation to handle csv files.
JSONParser is a Parser implementation to handle json files.
PlainParser is a Parser implementation to handle plain files.
ReadWriteOption is an option to be used when writing.
TOMLParser is a Parser implementation to handle toml files.
UnknownParserErr is returned when an invalid parser name is given.
XMLParser is a Parser implementation to handle xml files.
YAMLParser is a Parser implementation to handle yaml files.

# Interfaces

MultiDocument is a parser result that contains multiple documents.
OriginalRequired can be used in conjunction with RealValue to allow parsers to be more intelligent with the data they read/write.
Parser can be used to load and save files from/to disk.
ReadParser can be used to convert bytes to data.
RealValue can be used in conjunction with OriginalRequired to allow parsers to be more intelligent with the data they read/write.
SingleDocument is a parser result that contains a single document.
WriteParser can be used to convert data to bytes.

# Type aliases

OptionKey is a defined type for keys within a ReadWriteOption.