This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Yaml.
Summary
Deserializes the YAML from a string.
- Assembly
- Cake
.Yaml .dll - Namespace
- Cake
.Yaml - Containing Type
- YamlAliases
Syntax
public static T DeserializeYaml<T>(this ICakeContext context, string yaml, DeserializeYamlSettings settings)
Attributes
| Type | Description |
|---|---|
| Cake |
Type Parameters
| Name | Description |
|---|---|
| T | The type to deserialize to. |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| yaml | string | The YAML string. |
| settings | Deserialize |
The DeserializeYamlSettings that will be used to build the deserializer. |
Return Value
| Type | Description |
|---|---|
| T | The Deserialized Object. |
