json object to string in php code example
Example 1: parse json phph
echo json_decode("[1,2,3]")[0];
Example 2: how to make a json request in php
<?php
$jsonurl = "http://api.wipmania.com/json";
$json = file_get_contents($jsonurl);
var_dump(json_decode($json));
?>