我正在嘗試使用PHP從以下JSON文件中獲取數(shù)據(jù)。我特別想要“temperatureMin”和“temperatureMax”。這可能很簡單,但我不知道該怎么做。我堅持在file_get_contents(“file.json”)之后做什么。一些幫助將不勝感激!{ "daily": { "summary": "No precipitation for the week; temperatures rising to 6° on Tuesday.", "icon": "clear-day", "data": [ { "time": 1383458400, "summary": "Mostly cloudy throughout the day.", "icon": "partly-cloudy-day", "sunriseTime": 1383491266, "sunsetTime": 1383523844, "temperatureMin": -3.46, "temperatureMinTime": 1383544800, "temperatureMax": -1.12, "temperatureMaxTime": 1383458400, } ] }}
使用PHP從[JSON]文件獲取數(shù)據(jù)
慕尼黑8549860
2019-09-20 17:06:13