{"location":{"lat": 50.4, "lng": 30.5}}
サーバーで送信する必要があります
私はこれをします
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(1);
List<NameValuePair> gps = new ArrayList<NameValuePair>(2);
gps.add(new BasicNameValuePair("lat", Util
.getLatitude()));
gps.add(new BasicNameValuePair("lng", Util
.getLatitude()));
nameValuePairs.add(new BasicNameValuePair("location",gps.toString()));
{"location":{"lat": "50.4", "lng": "30.5"}}
文字列ではなくフロートのタイプを送信する必要があります