ReadYaml Method
Definition
- Namespace
- Codebelt.Extensions.YamlDotNet.Converters
- Assemblies
- Codebelt.Extensions.YamlDotNet.dll
ReadYaml(IParser, Type)
Reads and converts the YAML to type T.
public abstract T ReadYaml(IParser reader, Type typeToConvert)
Parameters
readerIParserThe reader to read from.
typeToConvertTypeThe type to convert.
Returns
- T
The converted value.