JSFiddle - React, Tailwind, and code Playground

JavaScript

$(function(){
   var msg={
    "Students": [
        {
            "Name": "John",
            "Grade": "17"
        }
    ],
    "TotalClass": " 17",
    "TotalCount": "1"
};
    alert("TotalClass : "+msg.TotalClass);
    //loop thru students
    $.each(msg.Students,function(index,item){
       alert(item.Name+ " - "+item.Grade)
    });        
    
});