Beta version

class TagJsonSerializer extends AbstractJsonSerializer

Json Serialization handler for Node.

Methods

string
serialize(mixed $obj)

Serializes data.

array
toArray(Tag[] $tags)

Create a simple associative array with an entity.

deserialize(string $string)

Deserializes a json file into a readable array of datas.

Details

string serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

string

at line 48
array toArray(Tag[] $tags)

Create a simple associative array with an entity.

Parameters

Tag[] $tags

Return Value

array

at line 114
Node deserialize(string $string)

Deserializes a json file into a readable array of datas.

Parameters

string $string Input to deserialize

Return Value

Node