File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes MongoDB and the fly likes nested documents checker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » MongoDB
Bookmark "nested documents checker" Watch "nested documents checker" New topic
Author

nested documents checker

Dmitriy Shafeyev
Greenhorn

Joined: Aug 20, 2014
Posts: 1

Hello everyone,

Is there any way to check does DBobject have nested documents ?
For example, I have tree table and I want to fill it with DBObject document. To parse DBObject document, as a row for this table, and embedded documents as children of this rows.
For this I should know structure of document (to prevent cases when embedded documents is parsed as rows and not as nodes), and I need to check is this just value or nested document (something like isObject).
I use vaadin framework, maybe it has something that could help me.

Thanks in advance.
 
GeeCON Prague 2014
 
subject: nested documents checker