Converting JSON String to Dictionary Not List
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
You must login to ask question.
Your JSON is an array with a single object inside, so when you read it in you get a list with a dictionary inside. You can access your dictionary by accessing item 0 in the list, as shown below:
Now you can access the data stored in datapoints just as you were expecting: