"created_at" : ISODate("2011-11-25T18:17:16Z")
Mongo java driver correctly deserializes that to DBObject, w/ key = "created_at", and value type = java.util.Date, value = "2011-11-25T18:17:16Z" (as seen via IntelliJ debugger, which may have called toString on the date).
When I try to deserialize into java POJO like so:
Foo rehydratedFoo = jacksonDbCollection.convertFromDbObject(dbObject, Foo.class);
I get an error:
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.Date out of VALUE_EMBEDDED_OBJECT token