gpt4 book ai didi

python - ast.literal_eval 抛出 ValueError

转载 作者:太空宇宙 更新时间:2023-11-04 07:00:23 26 4
gpt4 key购买 nike

<分区>

ast.literal_eval 为以下 JSON 抛出 ValueError: malformed string。我无法发现错误是什么。我使用了在线 JSON 验证器,都提到这是一个有效的 JSON。

谁能帮我找出这个字符串的错误?

{
"business_id": "Iu-oeVzv8ZgP18NIB0UMqg",
"full_address": "3320 S Hill St,South East LA,Los Angeles, CA 90007",
"schools": [
"University of Southern California"
],
"open": true,
"categories": [
"Medical Centers",
"Health and Medical"
],
"photo_url": "http://s3-media1.ak.yelpcdn.com/bphoto/SdUWxREuWuPvvot6faxfXg/ms.jpg",
"city": "Los Angeles",
"review_count": 2,
"name": "Southern California Medical Group",
"neighborhoods": [
"South East LA"
],
"url": "http://www.yelp.com/biz/southern-california-medical-group-los-angeles",
"longitude": -118.274281,
"state": "CA",
"stars": 3.5,
"latitude": 34.01971,
"type": "business"
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com