File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » MongoDB
Bookmark "nested documents checker" Watch "nested documents checker" New topic

nested documents checker

Dmitriy Shafeyev

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.
I agree. Here's the link:
subject: nested documents checker
It's not a secret anymore!