How can I display the keys from MongoDB in HTML page. I do not want to display the values atached to the keys in UI.
I want to show all the keys but I am not aware how many keys are there in one document.
The DB is nested.
   School:{
           Student : {
                "CATEGORY": "Section1", 
                "Team"    :'A'
              },
           Teacher : { "Experience" : 3,
              }
   }
I want to extract keys Category, Team , Experience
 
    