I wish to retrieve the values of "comment" field in a String array or ArrayList (Java). Please refer to the image link or the following mongodb entry specified:
{
"_id" : ObjectId("56740295f0a1e82444261cd4"),
"Title" : "Campus",
"Description" : "Nice",
"City" : "Delhi",
"Venue" : "Paschim Vihar",
"Lab" : "Lab1",
"Tags" : [ "people", " building" ],
"UploadDate" : ISODate("2015-12-18T12:56:51.589Z"),
"MediaCreationDate" : ISODate("0015-01-09T18:41:00Z"),
"Likes" : 0,
"Dislikes" : 0,
"Video Hash" : "56740295f0a1e82444261cd4157",
"Url" : "56740295f0a1e82444261cd4157",
"comments" : [ "Hello Sir", "Hello World" ]
}
Just a beginner. Thanks.