category Zend
package Zend_Serializer
subpackage Adapter

 Methods

Constructor

__construct(array | \Traversable | \Zend\Serializer\Adapter\AdapterOptions $options) 
Inherited

inherited_from \Zend\Serializer\Adapter\AbstractAdapter::__construct()

Parameters

$options

array\Traversable\Zend\Serializer\Adapter\AdapterOptions

Serialize PHP value to JSON

serialize(mixed $value) : string

Set options

setOptions(array | \Traversable | \Zend\Serializer\Adapter\JsonOptions $options) : \Zend\Serializer\Adapter\Json

Parameters

$options

array\Traversable\Zend\Serializer\Adapter\JsonOptions

Returns

Deserialize JSON to PHP value

unserialize(string $json) : mixed

 Properties

 

$options

$options : \Zend\Serializer\Adapter\JsonOptions