Java MongoDB -Dokument erhalten

// After you get a Document
// Document doc = /**some document here**/;

// Print the value of the attribute named "test"
System.out.println(doc.get("test"));
Karamolegkos