-1
這就是我現在......我要改變結構,以滿足我的需求......我如何轉換JSON結構?
{
"value": [
{
"Latitude": 1.29997,
"Longitude": 103.8225
},
{
"Latitude": 1.30786,
"Longitude": 103.75999
}
]
}
這正是我需要的....
{
"features": [
{ "geometry": { "type": "Point", "coordinates": [ 103.83697, 1.33502 ] } },
{ "geometry": { "type": "Point", "coordinates": [ 103.8586, 1.31584 ] } },
{ "geometry": { "type": "Point", "coordinates": [ 103.86744, 1.35397 ] } }
]
}
你使用哪種語言來實現它? – user3227275