PHP Manual
Function Reference
Other Basic Extensions
JSON
Introduction
Installing/Configuring
Predefined Constants
JsonSerializable
JSON Functions
JsonSerializable::jsonSerialize
json_decode
JSON
PHP Manual
JSON Functions
Table of Contents
json_decode
— Decodes a JSON string
json_encode
— Returns the JSON representation of a value
json_last_error_msg
— Returns the error string of the last json_encode() or json_decode() call
json_last_error
— Returns the last error occurred