ConfigStore.loadString

ConfigStore loadString(string content, CdmDocument.Format fmt, string sourcePath = "<string>") @safe

Load configuration from a string.

Parameters

contentThe configuration content
fmtThe format of the content
sourcePathOptional source path for error messages

Returns

A ConfigStore with the loaded configuration.