我想知道如何为 findNearbyWiki 创建类似于 geonames api 的 JSON,而不是使用我想定义自己的数据的 wiki 数据。但是我不知道怎么做。我键入 json 数组并将其命名为 a.json。我在服务器中上传我的 a.json ......但它无法查看.. 这里是我的 json 文件
{"geonames":
[
{"summary":"Universiti Teknologi Malaysia (University of Technology Malaysia, UTM) is the oldest public engineering and technological university in Malaysia. The university specialises in technical studies, with separate faculties for Education, Pure Sciences, Management, and Human Resources Development (...)",
"distance":"0.0185",
"rank":90,
"title":"Universiti Teknologi Malaysia",
"wikipediaUrl":"en.wikipedia.org/wiki/Universiti_Teknologi_Malaysia",
"elevation":26,
"countryCode":"MY",
"lng":103.641486,
"feature":"landmark",
"lang":"en",
"lat":1.559034
}
]
}