英文:
Flutter Deeplink issue with image URL
问题
我遇到了深度链接部分的问题。当我尝试jsonEncode
时,我收到了附件中显示的错误:
英文:
I am facing an issue with deeplink part. When I try to jsonEncode
, I got this error as shown in the attachment:
答案1
得分: 2
The JSON不是有效的,因此引发了FormatException
。
logo
键的格式不正确,因为它没有一个封闭的双引号"
。
这是您当前的内容。
"logo": "https://firebasestorage.googleapis.com/ve/b/..appspot.com/o/Stores/image_picker_78CC1DE1-00A6-4479-924F-8D0662B740B-48237-000060FE8F8282CB.jpg?alt=media,
这是地图中键应该看起来像的样子。
"logo": "https://firebasestorage.googleapis.com/ve/b/..appspot.com/o/Stores/image_picker_78CC1DE1-00A6-4479-924F-8D0662B740B-48237-000060FE8F8282CB.jpg?alt=media";
英文:
The JSON is not valid, hence the FormatException
.
The logo
key is not well formatted as it doesn't have an enclosing double quote "
.
This is what you have right now.
"logo": "https://firebasestorage.googleapis.com/ve/b/..appspot.com/o/Stores/image_picker_78CC1DE1-00A6-4479-924F-8D0662B740B-48237-000060FE8F8282CB.jpg?alt=media,
This is what the key supposed to look like in the Map.
"logo": "https://firebasestorage.googleapis.com/ve/b/..appspot.com/o/Stores/image_picker_78CC1DE1-00A6-4479-924F-8D0662B740B-48237-000060FE8F8282CB.jpg?alt=media",
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论