PHP – json_decode() Function
The PHP json_decode() function is used to decode or convert a JSON object to a PHP object.
The PHP json_decode() function is used to decode or convert a JSON object to a PHP object.
The PHP json_encode() function is used to encode a value to JSON format.
The PHP json_last_error() function returns the last error occurred.