TypeError: string indices must be integers while parsing JSON using Python?

后端 未结 2 1764
隐瞒了意图╮
隐瞒了意图╮ 2020-12-14 02:05

I am confuse now why I am not able to parse this JSON string. Similar code works fine on other JSON string but not on this one - I am trying to parse JSON String and extract

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 02:31

    Try replacing j = json.loads(json.dumps(jsonStr)) with j = json.loads(jsonStr).

提交回复
热议问题