Beta version

class TagTranslationJsonSerializer extends AbstractJsonSerializer

Json Serialization handler for NodeSource.

Methods

string
serialize(mixed $obj)

Serializes data.

array
toArray(mixed $tt)

Create a simple associative array with an entity.

mixed
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 44
array toArray(mixed $tt)

Create a simple associative array with an entity.

Parameters

mixed $tt

Return Value

array

at line 58
mixed deserialize(string $string)

Deserializes a json file into a readable array of datas.

Parameters

string $string Input to deserialize

Return Value

mixed