Using mongojackson only for Object Mapping

22 views
Skip to first unread message

Christian F

unread,
Feb 6, 2017, 1:14:00 PM2/6/17
to mongo-jackson-mapper
Hello,
I am using the official java mongodb driver with some minimalistic inhouse framework. Sadly I cannot use mongo-jackson for accessing the mongodb. But I would like to use mongo.jackson for mapping Objects into DBObjects and back.

Do you know, if that is possible?
I only need methods like 
DBObject writeDBObject(Object) 
and 
Object readDBObject(DBObject)

I tried to use jackson directly. But then I have to write all that custom mapping for Dates and Ids and so on. 

Thank you very much,
Chris
Reply all
Reply to author
Forward
0 new messages