PHP Manual
Function Reference
Other Basic Extensions
GeoIP
FANN
Igbinary
JSON
Simdjson
Lua
LuaSandbox
Misc.
Random
Seaslog
SPL
Streams
Swoole
Tidy
Tokenizer
URLs
V8js
Yaml
Yaf
Yaconf
Taint
Data Structures
var_representation
igbinary_unserialize
Introduction
Other Basic Extensions
PHP Manual
JavaScript Object Notation
Table of Contents
Introduction
Installing/Configuring
Installation
Predefined Constants
JsonException
— The JsonException class
JsonSerializable
— The JsonSerializable interface
JsonSerializable::jsonSerialize
— Specify data which should be serialized to JSON
JSON Functions
json_decode
— Decodes a JSON string
json_encode
— Returns the JSON representation of a value
json_last_error
— Returns the last error occurred
json_last_error_msg
— Returns the error string of the last json_encode() or json_decode() call
json_validate
— Checks if a string contains valid JSON