encodes an arbitrary variable into JSON format (and sends JSON Header)
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
Advertisement
Services_JSON::reduce_string
reduce a string by removing leading and trailing comments and whitespace
Services_JSON::decode
decodes a JSON string into appropriate variable
Services_JSON::isError
Services_JSON::strlen8
Calculates length of string in bytes
Advertisement
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.
Services_JSON_Error::__construct
PHP5 constructor.
Advertisement
Services_JSON::__construct
constructs a new JSON instance
Services_JSON_Error::Services_JSON_Error
PHP4 constructor.
Services_JSON::Services_JSON
PHP4 constructor.