I'm getting an exception using Gson to deserialize json.
java.text.ParseException: Unparseable date: "2011-10-19T23:30:00-04:00"
The 23:30:00 part does seem strange to me. Is this an invalid date?
You have to define the date Format in the GsonBuilder, something like this.
Gson gSon= new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss").create();
Regards!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With