dir (lldb.SBFrame)
#!/usr/bin/python import json from sys import argv # run with the name of the json file to process. script, filename = argv with open(filename) as json_file: jsoncontents = json.load(json_file) # how to dig into the json: upload = jsoncontents["upload"] metadata = upload["rideMetaData"] # print("planned ride: %s" % metadata["plannedRideMinutes"]) ridedata = upload["rideData"] for blurb in ridedata: if blurb["t"] == "hrt": value = blurb["v"] print(value)