-1
我使用json_decode,我怎麼迴應這個https://www.brick-hill.com/API/serials?id=20如何從嵌套數組中回顯對象?
<?php
$itemOwners = json_decode(file_get_contents("https://www.brick-hill.com//API//serials?id=1937"));
echo $itemOwners->owner;
?>
發佈一些代碼,老兄 – MorganFreeFarm
該API返回一個包含錯誤的JSON字符串 – RiggsFolly