Interface SerializerInterface
Serializers that implement this interface should parse and encode entities so that they can be used in the shop's APIs.
Serialization must follow the "null" approach in order to enhance response clarity. That means that serializers must provide a null value than an empty string or an omitted node.
category |
System |
---|---|
package |
Extensions |
subpackage |
Serializers |
deserialize( $string, $baseObject = null)
serialize( $object, $encode = true)