Parses the config file or string and returns a Config instance.
When parsing a string, the path corresponding to it
Whether the parsing should reject unknown keys in the document, warn, or ignore them (default: StrictMode.Error)
Config instance
Exception if parsing the config file failed.
See Implementation
Parses the config file or string and returns a Config instance.