class UrlAliasJsonSerializer extends AbstractJsonSerializer (View source)

Json Serialization handler for UrlAlias.

Methods

mixed
serialize(mixed $obj)

Serializes data.

array
toArray(UrlAlias $urlAlias)

Create a simple associative array with a UrlAlias.

mixed
deserialize(string $jsonString)

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(UrlAlias $urlAlias)

Create a simple associative array with a UrlAlias.

Parameters

UrlAlias $urlAlias

Return Value

array

mixed deserialize(string $jsonString)

Deserializes a json file into a readable array of datas.

Parameters

string $jsonString

Return Value

mixed

Exceptions

Exception