\JCORE\TRANSPORTSERIALIZATION

Interface SERIALIZATION

Summary

Methods
Properties
Constants
serialize()
unserialize()
serializePHP()
serializeJSON()
unserializeJSON()
getLastJSONError()
unserializePHP()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
No private properties found
N/A

Methods

serialize()

serialize(string  $args = array()) : boolean

CACHE_SERIALIZATION $args["DATA"] = [STRING/ARRAY/OBJECT] passed to serialization method $args["CACHE_SERIALIZATION"] = [JSON/NATIVE/RAW] JSON - json_encode($args["DATA"]) NATIVE - serialize($args["DATA"]) RAW - [string] $args["UNSERIALIZE_TYPE"] = [def:ARRAY/OBJECT/RAW(string)] for implementations that leverage JSON data and use json_decode ( string $json [, bool $assoc = false].

..)

Parameters

string $args

Returns

boolean

unserialize()

unserialize(string  $args = array()) : boolean

CACHE_SERIALIZATION $args["DATA"] = [STRING/ARRAY/OBJECT] passed to serialization method $args["CACHE_SERIALIZATION"] = [JSON/NATIVE/RAW] JSON - json_encode($args["DATA"]) NATIVE - serialize($args["DATA"]) RAW - [string] $args["UNSERIALIZE_TYPE"] = [def:ARRAY/OBJECT/RAW] for implementations that leverage JSON data and use: json_decode ( string $json [, bool $assoc = false].

..)

Parameters

string $args

Returns

boolean

serializePHP()

serializePHP(array  $args = array()) : string

serializePHP NATIVE

Parameters

array $args

Returns

string —

$serialized

serializeJSON()

serializeJSON(  $args = array()) : string

json_encode ( mixed $value [, int $options = 0 ] ) 5.3 [,options Bitmask consisting of JSON_HEX_QUOT, JSON_HEX_TAG, JSON_HEX_AMP, JSON_HEX_APOS, JSON_FORCE_OBJECT. ]

Parameters

$args

mixed

Returns

string —

$JSON

unserializeJSON()

unserializeJSON(mixed  $args = array()) : array|object|string

default serializer if args are provided they will be execured json_decode ( string $json [, bool $assoc = false [, int $depth = 512 [, int $options = 0 ]]] ) $args["assoc"] [TRUE/FALSE] bool $args["DATA"] array|object|string

Parameters

mixed $args

Returns

array|object|string

getLastJSONError()

getLastJSONError(mixed  $args = array()) : array|object|string

Deprecated or move ??? JCORE\TRANSPORT\JSON\JSON.validateJSON

Parameters

mixed $args

Returns

array|object|string

unserializePHP()

unserializePHP(mixed  $args = array()) : array|object|string

unserializePHP native

Parameters

mixed $args

Returns

array|object|string

__construct()

__construct() : \JCORE\TRANSPORT\return

__construct ln -s /var/www/PhpDocumentor-1.4.3 /var/www/HTTP/default_admin_http/PHPDOC //var/www/JCORE/APIS/default_admin_http

Returns

\JCORE\TRANSPORT\return —

NULL