Serializes PHP variables using JSON
JSON stands for Javascript Object Notation. It's a lightweight data transfer format, widely used to interchange information between client and server side by the most common AJAX libraries.
Examples:
Located in /core/util/json/JSONEncoder.class.php (line 52)
PHP2Go | --JSONEncoder
Shortcut method to encode a variable
Prepares a Javascript function body to be encoded
Prepares a Javascript identifier (variable, constant or function) to be encoded
Encodes a given value using JSON syntax
Values that can't be encoded will produce a NULL result or throw an error.
Encodes a PHP array
Hash arrays are mapped to anonymous objects in JSON. A PHP array is serialized as a JSON array only when all keys are numeric and no gaps are found.
Encodes a PHP object
Encodes a string
Checks if an object was already visited
Inherited From PHP2Go
PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()
Documentation generated on Sun, 07 Oct 2007 19:26:50 -0300 by phpDocumentor 1.3.2