How to use php with json?
PHP has built-in functions to work with JSON, such as `json_encode()` and `json_decode()`.
Example:
$array = array('a' => 1, 'b' => 2, 'c' => 3);
echo json_encode($array);
Solution:
$json = '{'a':1,'b':2,'c':3}';
$decoded = json_decode($json, true);
print_r($decoded);