return: Number, boolean, string, array, or object corresponding to given JSON input string. Note that decode() always returns strings in ASCII or UTF-8 format.
mixed
decode
(string$str)
string$str: JSON-formatted string.
encode (line 89)
Encodes an arbitrary variable into JSON format.
return: JSON string representation of input var.
string
encode
(mixed$var)
mixed$var: Any number, boolean, string, array, or object to be encoded.
Documentation generated on Sun, 30 Jan 2011 05:18:40 +0000 by phpDocumentor 1.4.3