I want to print the date of the first match in my JSON which is '2018-06-14'. I often get the error 'string indices must be integers' and I am at a loss at this point. I will attach a screenshot of the relevant JSON below
CodePudding user response:
creo que estas olvidando los indices de las listas, hagalo de esta forma
print(Json['rounds'][0]['matches'][0]["date"])
me cuenta si le funcionó.. tenga buen día