mixed ion\Serializer::serialize(mixed $data, [ion\Writer|array|null $writer = NULL])

Params: