Services_JSON
Methods
1 to 12 of 12
- Services_JSON::__construct() – constructs a new JSON instance
- Services_JSON::_encode() – PRIVATE CODE that does the work of encodes an arbitrary variable into JSON format
- Services_JSON::decode() – decodes a JSON string into appropriate variable
- Services_JSON::encode() – 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::isError() –
- Services_JSON::name_value() – array-walking function for use in generating JSON-formatted name-value pairs
- Services_JSON::reduce_string() – reduce a string by removing leading and trailing comments and whitespace
- 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::utf162utf8() – convert a string from one UTF-16 char to one UTF-8 char
- Services_JSON::utf82utf16() – convert a string from one UTF-8 char to one UTF-16 char