var data = $("#json").html();
$(function() {
$.ajax({
type:'POST',
url: '../index.php',
data: {data: data},
success: function(resp){
console.log(resp);},
});
});
$arr = json_decode(isset($_POST['data']));
print_r($arr);
var_dump($arr);