value = is_string($value) ? mb_substr($value, 0, 255) : $value; } #[Override] public function jsonSerialize(): ?string { return $this->value; } }