PHPJSONRPC 1.0.1

Value extends Value
in package
uses SerializerAware

Table of Contents

Properties

$jsonRpcCharsetEncoder  : mixed
$serializer  : mixed

Methods

getCharsetEncoder()  : Charset
Reimplemented to make us use the correct charset encoder type.
getSerializer()  : mixed
serialize()  : string
Returns json representation of the value.
setCharsetEncoder()  : mixed
setSerializer()  : mixed

Properties

$jsonRpcCharsetEncoder

protected static mixed $jsonRpcCharsetEncoder

Methods

getCharsetEncoder()

Reimplemented to make us use the correct charset encoder type.

public getCharsetEncoder() : Charset
Return values
Charset

serialize()

Returns json representation of the value.

public serialize([string $charsetEncoding = '' ]) : string
Parameters
$charsetEncoding : string = ''

the charset to be used for serialization. if null, US-ASCII is assumed

Return values
string

setCharsetEncoder()

public static setCharsetEncoder(mixed $charsetEncoder) : mixed
Parameters
$charsetEncoder : mixed

setSerializer()

public static setSerializer(mixed $serializer) : mixed
Parameters
$serializer : mixed

        
On this page

Search results