Method Read
- Namespace
- DialogueDown.Playbook
- Assembly
- DialogueDown.Playbook.dll
Read(string)
Reads a playbook and checks it holds together.
public PlaybookDocument Read(string json)
Parameters
jsonstringThe document to read.
Returns
- PlaybookDocument
The playbook, safe to play.
Exceptions
- InvalidPlaybookException
The document cannot be played as written.