I'm looking for a developer to help me understand jQuery / JSON / Restful API and how I can use it to read data and display it on a website.
The data I have is:
{
orders: [
{ "destination":"Castlebellingham North" , "delivery":"21/02/12 PM" , "status":"pending" },
{ "destination":"Drogheda" , "delivery":"22/02/12 AM" , "status":"in transit" },
{ "destination":"Carrickmacross" , "delivery":"23/02/12 PM" , "status":"delivered" }
]
}
What I need to do with this is:
1. Set up an example where I can read in that file locally and parse it to a website
2. Set up an example where I can read in that file from a webserver and parse it to a website
3. Set up an example where I can read that data from a 'restful api' and parse it to a website
4. Set up an example where I can read that data from a 'restful api' (using callback?) and parse it to a website
I have been trying to understand this for hours but any example i try from the Internet give me JS Console errors.