Question: Homework #1 JSON Problems cast: id:162655641, name: Tom Hanks. characters: [Woody'] id: 162655909. name: Tim Allen, characters: [Buzz Lightyear'] id: 162655020 name:Joan Cusack, characters: [Jessie
Homework #1 JSON Problems "cast": "id":"162655641", "name": "Tom Hanks". "characters": ["Woody'] "id": "162655909". "name": "Tim Allen", "characters": ["Buzz Lightyear'] "id": "162655020" "name":"Joan Cusack", "characters": ["Jessie the Cowgirl"] "id": "341817905". "name": "Don Rickles", "characters": ["Mr. Potato Head"] "id": "162671862" "name": "Wallace Shawn", "characters": ["Rex"] "links": {"rel": "http://api.rottentomatoes.com/api/public/v1.0/movies/770672122. json?apikey=qfcfceronworx mxue Onstggh"} 1.) The above data shows the return information from an api data call for the. The information is returned in an array called data. a.) How many different elements are there in the cast array? b.) How many different elements would be in the array data.cast[0].name? c.) What would be the value of data.cast[2].characters[0]? 2.) Rewrite the above structure as an XML code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
