super(buildJsonTree(mongoCollectionResult));
}
public static TreeNode buildJsonTree(MongoCollectionResult mongoCollectionResult) {
JsonTreeNode rootNode = new JsonTreeNode(new MongoResultDescriptor(mongoCollectionResult.getCollectionName()));
List<DBObject> mongoObjects = mongoCollectionResult.getMongoObjects();
int i = 0;
for (DBObject mongoObject : mongoObjects) {
if (mongoObject instanceof BasicDBList) {