Lire un tableau associatif de json dans $_POST

J'utilise jQuery pour afficher un objet json pour mon application php.

jQuery.post("save.php",JSON.stringify(dataToSend), function(data){ alert(data); });

La chaîne json comme tiré de firebug ressemble à ceci

{ "data" : [ { "contents" : "This is some content",
        "selector" : "DIV.subhead"
      },
      { "contents" : "some other content",
        "selector" : "LI:nth-child(1) A"
      }
    ],
  "page" : "about_us.php"
}

En php je suis en train de transformer cela en un tableau associatif.

Mon code php pour l'instant est

<?php
$value = json_decode(stripcslashes($_POST));
echo $value['page'];
?>

La réponse à l'appel ajax devrait être "about_us.php" mais il est à nouveau vide.

InformationsquelleAutor Daniel | 2011-04-27