PRIVATE CODE that does the work of encodes an arbitrary variable into JSON format
Services_JSON::name_value
array-walking function for use in generating JSON-formatted name-value pairs
Services_JSON::decode
decodes a JSON string into appropriate variable
Services_JSON::isError
Advertisement
Services_JSON::strlen8
Calculates length of string in bytes
Services_JSON::substr8
Returns part of a string, interpreting $start and $length as number of bytes.
Services_JSON_Error::__construct
PHP5 constructor.
Services_JSON_Error::Services_JSON_Error
PHP4 constructor.
Advertisement
Services_JSON_Error::__construct
PHP5 constructor.
Services_JSON_Error::Services_JSON_Error
PHP4 constructor.
Services_JSON::utf82utf16
convert a string from one UTF-8 char to one UTF-16 char
Services_JSON::encode
encodes an arbitrary variable into JSON format (and sends JSON Header)
Advertisement
Services_JSON::encodeUnsafe
encodes an arbitrary variable into JSON format without JSON Header – warning – may allow XSS!!!!)
Services_JSON::_encode
PRIVATE CODE that does the work of encodes an arbitrary variable into JSON format
Services_JSON::name_value
array-walking function for use in generating JSON-formatted name-value pairs