Serializer interface, used to customize ion\serialize()'s behavior.
None.
None.
mixed
ion\Serializer::serialize(mixed
$data, [ion\Writer|array
|null
$writer = NULL
])
Serializer implementation
class ion\Serializer\Serializer implements ion\Serializer