36. Class

36.1. Zend\Serializer\Adapter\Json

36.1.1. Methods

36.1.1.1. setOptions

setOptions()

Set options

Parameters:array|Traversable|JsonOptions
Return type:Json

36.1.1.2. getOptions

getOptions()

Get options

Return type:JsonOptions

36.1.1.3. serialize

serialize()

Serialize PHP value to JSON

Parameters:mixed
Return type:string
Throws :ExceptionInvalidArgumentException
Throws :ExceptionRuntimeException

36.1.1.4. unserialize

unserialize()

Deserialize JSON to PHP value

Parameters:string
Return type:mixed
Throws :ExceptionInvalidArgumentException
Throws :ExceptionRuntimeException

Project Versions

Table Of Contents

Previous topic

35. Class

Next topic

37. Class

This Page