var moviereviewtext = "{"title": "Friday the 13th", "year": 1980, "reviews": [{"reviewer": "Pam", "stars": 3, "text": "Pretty good, but could have used more Jason"}, {"reviewer": "Alice", "stars": 4, "text": "The end was good, but a little unsettling"}]}";
var jsonobj = eval("(" + moviereviewtext + ")");
上に示したように変数があり、json形式でデータを入力します。しかし、私が必要としているのは、APIのURLを持っているので、そこからjsonを取得して、それを変数に割り当てる必要があります。どうやってするの?