encode package:yaml
Encode a value into its YAML representation.
Encode a value into its YAML representation and save to the given
file.
Encode a value into its YAML representation with custom styling and
save to the given file.
Encode a value into its YAML representation with custom styling.