Parses a TOML payload into a syntax tree and throws on any parse/validation error.
public static DocumentSyntax ParseStrict(string toml, string? sourceName = null, bool validate = true)
The TOML payload.
An optional source name used in diagnostics.
When true, runs semantic validation after parsing.