How to get the list of transactions of input/outputs for a bitcoin address in JSON format? Is there an example of how to get all the transaction data for a bitcoin address in json format?
As answered above you can use blockchain.info for extracting the results. Here I would like to add to the solution provided by m1xolyd1an, his code works fine but it extracts only latest 50 results/transactions made by the address that you are trying to retrieve the data for. 

In order to extract the complete details of the transaction right from the beginning, some minor tweaks have to be made to the code. Below is my solution

&lt;?php
$address = $_POST['Address'];
$url = "https://blockchain.info/address/".$address."?format=json&amp;offset=0";
$json = json_decode(file_get_contents($url), true);

$totalTxs = $json["n_tx"];
echo "Total transaction : $totalTxs";
for($ex=0;$ex&lt;$totalTxs;$ex+=50){
//$address = "1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v";
$url = "https://blockchain.info/address/".$address."?format=json&amp;offset=$ex";
$json = json_decode(file_get_contents($url), true);

//total transactions
$totalTxs = $json["n_tx"];
//final balance
$balanceSatoshis = $json["final_balance"];
$balanceBitcoins = $balanceSatoshis / 100000000;
$balanceBitcoins = number_format($balanceBitcoins, 8);

//loop through each transaction and display all inputs and outs
for($i=0;$i&lt;50;$i++){

echo "&lt;table&gt;&lt;tr&gt;&lt;td&gt;";
echo "HASH OF TX:&lt;/br&gt;";
$hash=$json["txs"][$i]["hash"];
echo "&amp;nbsp;".$hash;

echo "&lt;/td&gt;&lt;td width='550'&gt;SENT FROM:&lt;br&gt;";
$n_inputs = count($json["txs"][$i]["inputs"]);  

for($ii = 0; $ii &lt; $n_inputs; $ii++){   
    $inValue = $json["txs"][$i]["inputs"][$ii]["prev_out"]["value"];    
    $inValueCalc = $inValue / 100000000;    
    $inAddy = $json["txs"][$i]["inputs"][$ii]["prev_out"]["addr"];  
    echo "&amp;nbsp;". rtrim(number_format($inValueCalc, 8), '0') ."&amp;nbsp;". $inAddy ."&amp;nbsp;"; 
    echo "&lt;br&gt;";
    }   

echo "&lt;/td&gt;&lt;td&gt;SENT TO:&lt;br&gt;";
$n_outputs = count($json["txs"][$i]["out"]);    

for($io = 0; $io &lt; $n_outputs; $io++){  
    $outValue = $json["txs"][$i]["out"][$io]["value"];  
    $outValueCalc = $outValue / 100000000;  
    $outAddy = $json["txs"][$i]["out"][$io]["addr"];    
    echo "&amp;nbsp;". rtrim(number_format($outValueCalc, 8), '0') ."&amp;nbsp;". $outAddy ."&amp;nbsp;";   
    echo "&lt;br&gt;";    
    }   
echo "&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;";
}
}
?&gt;