php json_decode без кавычек

function json_decode_add_quotes_to_keys($s) {                      
    $s = preg_replace('/(\w+):/i', '"\1":', $s);                   
    return json_decode($s);                                        
}  
Friendly Hawk