(PHP 5 >= 5.2.0, PECL json >= 1.2.0, PHP 7)
Decodes a JSON string
mixed json_decode ( string $json [, bool $assoc = false [, int $depth = 512 [, int $options = 0 ]]] )
Takes a JSON encoded string and converts it into a PHP variable.
Parameters:
json
The json string being decoded.
This function only works with UTF-8 encoded strings.
Note:
PHP implements a su