Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php parse json

// scrap this:
$data = json_decode($rawdata);

// use this:
$data = json_decode($rawdata, true);
echo $data["key1"];
 
PREVIOUS NEXT
Tagged: #php #parse #json
ADD COMMENT
Topic
Name
5+1 =