Google 地点详情 API returns 不正确 JSON
Google Place Detail API returns incorrect JSON
我正在使用 google 地方详情 API 并且它 return object 在 object 中,不正确 json 但数据是正确的。
这是输出
{{
"html_attributions": [],
"result": {
"address_components": [
........... // more details commented here
"status": "OK"
}}
根据https://developers.google.com/places/web-service/details,应该是
{
"html_attributions": [],
"result": {
.....
我还将默认 header 添加为 "application/json"。
我接收数据的方式有问题。google API
没问题
我正在使用 google 地方详情 API 并且它 return object 在 object 中,不正确 json 但数据是正确的。 这是输出
{{
"html_attributions": [],
"result": {
"address_components": [
........... // more details commented here
"status": "OK"
}}
根据https://developers.google.com/places/web-service/details,应该是
{
"html_attributions": [],
"result": {
.....
我还将默认 header 添加为 "application/json"。
我接收数据的方式有问题。google API
没问题