Class Horde_Serialize_JSON

Description

Converts to and from JSON format.

Located in /Serialize/Serialize/JSON.php (line 79)


	
			
Method Summary
 mixed decode (string $str)
 string encode (mixed $var)
Methods
decode (line 181)

Decodes a JSON string into appropriate variable.

  • 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