Answers for "var_dump json php string"

PHP
2

js json_encode pretty

var str = JSON.stringify(obj, null, 2); // spacing level = 2
Posted by: Guest on June-23-2020
-1

json stringify php decode

$postedData = $_POST["JSONfullInfoArray"];
$tempData = str_replace("\\", "",$postedData);
$cleanData = json_decode($tempData);
var_dump($cleanData);
Posted by: Guest on October-06-2020

Browse Popular Code Answers by Language