Create a project called MenuPlayer which reads in a JSON representation of a restaurant menu. A menu has a name (ie Dinner Menu) and a list of menu items. Each menu item is repesented by a name, a price, and a category (appetizer, entree, or dessert). Your program should ultimately read in the menu in JSON format and display it in a reasonable format for human viewing. An example of your program's input and potential output is below:
input:
{
"name":"Dinner Menu",
"item":"{"name":"Salad","price":"$3.95","category":"appetizer"},
"item":"{"name":"Soup","price":"$4.95","category":"appetizer"},
"item":"{"name":"Steak","price":"$19.95","category":"entree"},
"item":"{"name":"Fish","price":"$17.95","category":"entree"},
"item":"{"name":"Stir Fry","price":"$13.95","category":"entree"},
"item":"{"name":"Ice Cream","price":"$4.95","category":"dessert"},
"item":"{"name":"Pie","price":"$5.95","category":"dessert"}
}
Output:
Dinner Menu
Appetizers:
Salad $3.95
Soup $4.95
Entrees
Steak $19.95
Fish $17.95
Stir Fry $13.95
Desserts
ice Cream $4.95
Pie $5.95