}
parentNode.add(currentNode);
}
} else if (mongoObject instanceof BasicDBObject) {
BasicDBObject basicDBObject = (BasicDBObject) mongoObject;
for (String key : basicDBObject.keySet()) {
Object value = basicDBObject.get(key);
JsonTreeNode currentNode = new JsonTreeNode(MongoKeyValueDescriptor.createDescriptor(key, value));
if (value instanceof DBObject) {
processDbObject(currentNode, (DBObject) value);
}