encoding/json

Index

Overview

json provides functions for working with json data

Functions

def dumps

dumps(obj) string

serialize obj to a JSON string

Arguments
nametypedescription
objobjectinput object

def loads

loads(source) object

read a source JSON string to a starlark object

Arguments
nametypedescription
sourcestringinput string of json data