Skip to content

Conversation

KurtThiemann
Copy link
Member

A custom Serializer and Deserializer can be specified for a property.
This can be useful if you want to serialize a specific property differently.

#[Serialize(serializer: new Base64Serializer(), deserializer: new Base64Deserializer(TestClass::class))]
protected TestClass $example;

@JulianVennen JulianVennen merged commit 6e05bfb 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