mirror of
https://github.com/mcuadros/ascode
synced 2024-11-26 06:01:08 +01:00
688 B
688 B
title |
---|
encoding/yaml |
yaml provides functions for working with yaml data
Index
Functions
def yaml.dumps
yaml.dumps(obj) string
serialize obj to a yaml string
Arguments
name | type | description |
---|---|---|
obj |
object |
input object |
def yaml.loads
yaml.loads(source) object
read a source yaml string to a starlark object
Arguments
name | type | description |
---|---|---|
source |
string |
input string of yaml data |