Read JSON content 5
- Use PHP to get JSON file on the server and dump it to the client (JS/jQuery)
- Using jQuery to process JSON
{
"Instructor":
{
"@HireDate": "2011-08-01",
"FirstName": "Jack",
"LastName": "Zheng",
"Title": "Assistant Professor",
"Course":
[
{
"Title": "IT6713",
"Enrollment": 18
},
{
"Title": "IT6753",
"Enrollment": 22
}
]
}
}The JSON file can be viewed here: instructor3.json
Reading results