Json
class Json
JSON encoder and decoder.
Constants
FORCE_ARRAY |
|
PRETTY |
|
Methods
static string
encode($value, $options = 0)
Returns the JSON representation of a value.
static mixed
decode($json, $options = 0)
Decodes a JSON string.
Details
at line 31
static string
encode($value, $options = 0)
Returns the JSON representation of a value.
at line 56
static mixed
decode($json, $options = 0)
Decodes a JSON string.
Traits
Static class.