モデルクラスにマップしたい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