jsonify() code example Example: json.stringify equivalent in python json_mylist = json.dumps(mylist, separators=(',', ':'))