4 ms·
The neat thing is that you can use tags to represent custom data structures or functions. For example, AWS Cloudformation uses YAML tags as a shorthand for temp
by Varriount 6y ago
The neat thing is that you can use tags to represent custom data structures or functions. For example, AWS Cloudformation uses YAML tags as a shorthand for template functions [0].
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-base64.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGui...
- kanox 6y agoDepending on the parser you can also use them to call arbitrary code. This used to be the default behavior of `pyyaml.load`.