说明
mixed json_decode ( string json [, bool assoc] )Takes a JSON encoded string and converts it into a PHP variable.
返回值
Returns an object or if the optional assoc
parameter is TRUE, an associative array is instead returned.
范例
Takes a JSON encoded string and converts it into a PHP variable.
Returns an object or if the optional assoc
parameter is TRUE, an associative array is instead returned.