Logo Search packages:      
Sourcecode: dojo version File versions  Download package

Services_JSON::name_value ( name,

array-walking function for use in generating JSON-formatted name-value pairs

string $name name of key to use
mixed $value reference to an array element to be encoded
string JSON-formatted name-value pair, like '"name":value' private

Definition at line 430 of file json.php.

References encode().

        return $this->encode(strval($name)) . ':' . $this->encode($value);

Generated by  Doxygen 1.6.0   Back to index