Class CategoryListItemJsonSerializer

Class CategoryListItemJsonSerializer

This class will serialize and deserialize an CategoryListItem entity. It can be used into many places where PHP interacts with external requests such as AJAX or API communication.

AbstractJsonSerializer implements SerializerInterface
CategoryListItemJsonSerializer

Methods summary

public serialize( CategoryListItem $object, boolean $encode = true ) : string|array

Serialize an CategoryListItem object to a JSON string.

public deserialize( string $string, object $baseObject = null )

Deserialize method is not used by the api.

Methods inherited from AbstractJsonSerializer

__construct(), _deserializeAddonValues(), _deserializeLanguageSpecificProperty(), _serializeAddonValues(), _serializeLanguageSpecificProperty(), jsonEncode()

Properties summary

Properties inherited from AbstractJsonSerializer

$languageProvider