Method Parse
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.Guardrails.dll
Parse(string)
Parses YAML text into a tree whose nodes and keys know their lines.
public ParsedDocument Parse(string text)
Parameters
textstringThe document's text.
Returns
Exceptions
- ArgumentNullException
textis null.- DocumentFormatException
The text is not valid YAML, holds no document, or is refused by the limits in the remarks.