\Pop\UtilsJsonableInterface

Pop utils jsonable interface

Summary

Methods
Constants
jsonSerialize()
jsonUnserialize()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

jsonSerialize()

jsonSerialize(integer  $options, integer  $depth = 512) : string

JSON serialize the array object

Parameters

integer $options
integer $depth

Returns

string

jsonUnserialize()

jsonUnserialize(string  $jsonString, integer  $depth = 512, integer  $options) : \Pop\Utils\ArrayObject

Unserialize a JSON string

Parameters

string $jsonString
integer $depth
integer $options

Returns

\Pop\Utils\ArrayObject