Zend_Json_DecoderDecode JSON encoded string to PHP variable constructs
Located in /library/Zend/Json/Decoder.php (line 44)
int
$_decodeType
(line 95)
Flag indicating how objects should be decoded
int
$_offset
(line 80)
The offset within the souce being decoded
string
$_source
(line 65)
Use to maintain a "pointer" to the source being decoded
int
$_sourceLength
(line 72)
Caches the source length
int
$_token
(line 87)
The current token being considered in the parser cycle
Constructor __construct (line 106)
Constructor
decode (line 153)
Decode a JSON source string
Decodes a JSON encoded string. The value returned will be one of the following:
Throws a Zend_Json_Exception if the source string is null.
_decodeArray (line 259)
Decodes a JSON array format: [element, element2,...,elementN]
_decodeObject (line 204)
Decodes an object of the form: { "attribute: value, "attribute2" : value,...}
If ZJsonEnoder or ZJAjax was used to encode the original object then a special attribute called __className which specifies a class name that should wrap the data contained within the encoded source.
Decodes to either an array or StdClass object, based on the value of $_decodeType. If invalid $_decodeType present, returns as an array.
_decodeValue (line 170)
Recursive driving rountine for supported toplevel tops
_eatWhitespace (line 288)
Removes whitepsace characters from the source input
_getNextToken (line 308)
Retrieves the next token from the source stream
Documentation generated on Wed, 08 Mar 2006 04:51:30 -0800 by phpDocumentor 1.3.0RC4