zaubersoftware/gnip4j — Issue #11: cannot deserialize properly for the geo coordinates
Author: simonwg
Created: 2012-01-26 04:22:08+00:00
State: open

I found that the geo4j could not deserialize properly for the geo coordinates using the twitter sample payload from http://gnip.com/twitter/power-track.

The issue is coordinates in the JSON format is in array of array of array. However, the coordinates property of Geo.java is simply double[]

To fix the issue, double []coordinates should be replaced by double [][][]coordinates (Of course, the accessor methods should be updated correspondingly).