CustomerGroupSerializerInterface
in
Interface CustomerGroupSerializerInterface
Tags
Table of Contents
- deserialize() : CustomerGroupInterface
- Deserialize a JSON string.
- encode() : string
- JSON Encode Wrapper.
- serialize() : array<string|int, mixed>
- Serialize a value to a JSON string.
Methods
deserialize()
Deserialize a JSON string.
public
deserialize(StringType $customerGroup) : CustomerGroupInterface
Parameters
- $customerGroup : StringType
-
Content to be deserialize.
Return values
CustomerGroupInterface —encode()
JSON Encode Wrapper.
public
encode(CustomerGroupInterface $customerGroup) : string
Parameters
- $customerGroup : CustomerGroupInterface
-
Content to be encoded.
Return values
string —Returns the encoded JSON string that represents the data.
serialize()
Serialize a value to a JSON string.
public
serialize(CustomerGroupInterface $customerGroup) : array<string|int, mixed>
Parameters
- $customerGroup : CustomerGroupInterface
-
Content to be serialized.