class TagTranslationJsonSerializer extends AbstractJsonSerializer (View source)

Json Serialization handler for NodeSource.

Methods

mixed
serialize(mixed $obj)

Serializes data.

array
toArray(mixed $tt)

Create a simple associative array with a NodeSource.

mixed
deserialize(string $string)

Deserializes a json file into a readable array of datas.

Details

mixed serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

mixed

array toArray(mixed $tt)

Create a simple associative array with a NodeSource.

Parameters

mixed $tt

Return Value

array

mixed deserialize(string $string)

Deserializes a json file into a readable array of datas.

Parameters

string $string Input to deserialize

Return Value

mixed