I am using java api for mongodb to parse the JSON string into Java object and storing it into MongoDB.
My JSON string will have fields that are date like the one given below. "created":"2012-10-17 21:39:06.385987 +0000"
When I try to save the parsed java object into MongoDB it stores the value as String. I would like to store it has a datetime field. Can someone shed some light on this?
Thanks and Regards, Balaji.R