I don't know the internals of Spring MVC, but it's worth considering that BasicDBObject is actually a Map implementation, not specifically a JSON object. So if Spring supports JSON-shaped objects, it might not apply to BasicDBObject.However, BasicDBObject can be turned into a JSON String via com.mongodb.util.JSON.serialize. So if Spring MVC supports JSON strings, then it will be able to render BasicDBObject.
On Tuesday, November 13, 2012 7:58:45 PM UTC, Saj wrote:Is there any built-in support for BasicDbObject and its ilk in Spring MVC for rendering JSON views?
-----
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
You received this message because you are subscribed to the Google Groups "mongodb-user" group.To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.