encoding/yaml

Index

Overview

yaml provides functions for working with yaml data

Functions

def dumps

dumps(obj) string

serialize obj to a yaml string

Arguments
nametypedescription
objobjectinput object

def loads

loads(source) object

read a source yaml string to a starlark object

Arguments
nametypedescription
sourcestringinput string of yaml data