JsonableInterface
extends
JsonSerializable
in
Pop utils jsonable interface
Tags
Table of Contents
Methods
- jsonSerialize() : string
- JSON serialize the array object
- jsonUnserialize() : ArrayObject
- Unserialize a JSON string
Methods
jsonSerialize()
JSON serialize the array object
public
jsonSerialize([int $options = 0 ][, int $depth = 512 ]) : string
Parameters
- $options : int = 0
- $depth : int = 512
Return values
stringjsonUnserialize()
Unserialize a JSON string
public
jsonUnserialize(string $jsonString[, int $depth = 512 ][, int $options = 0 ]) : ArrayObject
Parameters
- $jsonString : string
- $depth : int = 512
- $options : int = 0