Advertisement

Advertisement

Services_JSON::substr8

Returns part of a string, interpreting $start and $length as number of bytes.

Advertisement

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