parse

Parses TOML content string into a StellarToml object.

This is the main parsing method that handles TOML content from any source. It automatically applies content safeguards to correct common TOML formatting errors found in real-world stellar.toml files.

Return

StellarToml object containing all parsed sections

Parameters

toml

Raw TOML content string to parse

Throws

If the TOML content is invalid and cannot be parsed