NAME

TOML::XS::Document - Object representation of a TOML document

SYNOPSIS

See TOML::XS.

DESCRIPTION

Instances of this class represent a parse of a TOML document.

This class is not directly instantiable.

METHODS

$hashref = OBJ->to_struct()

Returns a hash reference that represents the parsed TOML document.

If the read of the TOML structure encounters a malformed data point an exception is thrown. As of now that exception is a simple character string that includes a JSON pointer to the problematic data point.