Json
class Json (View source)
Methods
mixed
decode(string $string, bool $assoc = false)
Decodes a JSON string into a php variable.
string
encode(mixed $mixed)
Encodes a data structure into a JSON string.
Details
mixed
decode(string $string, bool $assoc = false)
Decodes a JSON string into a php variable.
string
encode(mixed $mixed)
Encodes a data structure into a JSON string.