RdbJsonObject
extends
JsonSerializable, JsonDeserializable
in
Implement this interface to create a JSON object that can be stored by Rdb.
This is a convenience interface that combines JsonSerializable and JsonDeserializable.
Use this for object drivers:
- HashObjectDriver
- JsonObjectDriver
- MsgPackObjectDriver
Tags
Table of Contents
Methods
- fromJson() : static
- Create an object from a JSON array.
Methods
fromJson()
Create an object from a JSON array.
public
static fromJson(array<string|int, mixed> $json) : static
Parameters
- $json : array<string|int, mixed>