Zend_Json_DecoderDecode JSON encoded string to PHP variable constructs
Located in /Json/Decoder.php (line 35)
int
$_decodeType
(line 86)
Flag indicating how objects should be decoded
int
$_offset
(line 71)
The offset within the souce being decoded
string
$_source
(line 56)
Use to maintain a "pointer" to the source being decoded
int
$_sourceLength
(line 63)
Caches the source length
int
$_token
(line 78)
The current token being considered in the parser cycle
static decode (line 144)
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.
static decodeUnicodeString (line 474)
Decode Unicode Characters from \u0000 ASCII syntax.
This algorithm was originally developed for the Solar Framework by Paul M. Jones
static _utf162utf8 (line 545)
Convert a string from one UTF-16 char to one UTF-8 char.
Normally should be handled by mb_convert_encoding, but provides a slower PHP-only method for installations that lack the multibye string extension.
This method is from the Solar Framework by Paul M. Jones
Constructor __construct (line 97)
Constructor
_decodeArray (line 258)
Decodes a JSON array format: [element, element2,...,elementN]
_decodeObject (line 199)
Decodes an object of the form: { "attribute: value, "attribute2" : value,...}
If Zend_Json_Encoder 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 165)
Recursive driving rountine for supported toplevel tops
_eatWhitespace (line 289)
Removes whitepsace characters from the source input
_getNextToken (line 309)
Retrieves the next token from the source stream
Documentation generated on Mon, 21 Jun 2010 15:16:25 -0400 by phpDocumentor 1.4.3