class TagJsonSerializer extends AbstractJsonSerializer (View source)

Json Serialization handler for Node.

Methods

mixed
serialize(mixed $obj)

Serializes data.

array
toArray(Tag[] $tags)

Create a simple associative array with a Tag.

makeTagRec($data)

No description

mixed
deserialize(string $string)

Deserializes a Json into readable datas.

Details

mixed serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

mixed

array toArray(Tag[] $tags)

Create a simple associative array with a Tag.

Parameters

Tag[] $tags

Return Value

array

protected makeTagRec($data)

Parameters

$data

mixed deserialize(string $string)

Deserializes a Json into readable datas.

Parameters

string $string Input to deserialize

Return Value

mixed