我有想要映射到模型类的 json
{
"type": "FeatureCollection",
"features": [
{
"geometry": {
"coordinates": [100.0, 0.0, 129, 1356044399]
},
"properties": {
"name": "My first name",
"description": "Popular place"
}
},
{
"geometry": {
"coordinates": [100.0, 1.0, 127, 1356045399]
},
"properties": {
"name": "My second TIP",
"description": "Even more popular place"
}
}
]
}
我想把它放到一个像这样的模型类中:
@property longitude (taken from coordinates index 0)
@property latitude (taken from coordinates index 1)
@property name
@property description