char c;
std::cout<<"Hello World";
std::ifstream people_file("query.json");
while(people_file.get(c)){
std::cout<<c;
}
This is my code, tho I am able to print whole json file. But I don't know how to access specific columns in it. Under given is a snapshot of the .json file.Suppose I want to access "_id" and "duration" fields.