- json_decode: documentation ( source)
<?php
$string = '{url_list: [
{
url: "http://superbocksuperrock.pt",
description: "",
type: "official"
},
{
url: "http://www.facebook.com/sbsr",
description: "Facebook oficial",
type: "official"
},
{
url: "http://www.festivais.pt/sbsr",
description: "Outro site",
type: "twitter"
}
]}';
echo json_decode($string, true);
?>