• Post Reply Bookmark Topic Watch Topic
  • New Topic

nested documents checker

 
Dmitriy Shafeyev
Greenhorn
Posts: 1
Google Web Toolkit IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!