Skip to content

Conversation

KurtThiemann
Copy link
Member

Custom Serializers and Deserializers can also be specified for array items.

#[Serialize(itemSerializer: new Base64Serializer(), itemDeserializer: new Base64Deserializer(TestClass::class))]
protected array $example = [];

@JulianVennen JulianVennen merged commit 87b7426 into aternosorg:master Oct 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants