Serializer/Adapter/Json.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Serializer
- subpackage
- Adapter
- version
- $Id: Json.php 20575 2010-01-24 17:48:27Z mabe $
- Classes
- Zend_Serializer_Adapter_Json
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
Zend_Serializer_Adapter_Json
- Extends from
- Zend_Serializer_Adapter_AdapterAbstract
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Serializer
- subpackage
- Adapter
- Properties
- $_options
- Methods
- serialize
- unserialize
Description
Properties
array $_options = 'array'
Details
- $_options
- array
Default options
- visibility
- protected
- default
- array
- final
- false
- static
- false
Methods
serialize(
mixed $value, array $opts
=
array
)
:
string
Serialize PHP value to JSON
Arguments
- $value
- mixed
- $opts
- array
Details
- visibility
- public
- final
- false
- static
- false
- throws
- on JSON encoding exception
unserialize(
string $json, array $opts
=
array
)
:
mixed
Deserialize JSON to PHP value
Arguments
- $json
- string
- $opts
- array
Details
- visibility
- public
- final
- false
- static
- false