CSCI 242 Homework 6

Purpose

Write a program using JSON.

Due dates

This assignment must be completed by 11:00 PM on Monday, 27 February. It is based on the example presented at the end of the February 16 lecture.

The task

Let’s try a little JSON by modifying the one of the textbook’s example. Start by downloading these three files used in the textbook.

However, modify the application to work with courses and use the json generated by the CGI script http://www.cs.unca.edu/brock/classes/Spring2012/242/lectlabs/examples/courses.cgi. Your program should poll the CGI script every minute and display the updated JSON.

Store your page so it can be accessed by the following URL.