Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum serializer #10

Open
ricardobr001 opened this issue Feb 27, 2023 · 1 comment
Open

Enum serializer #10

ricardobr001 opened this issue Feb 27, 2023 · 1 comment

Comments

@ricardobr001
Copy link

Hey folks, it's not possible to create a custom serializer for Enum type?

I've created this class and added it to the array of IWebSerializer on the Create method, but it isn't running my custom logics 🙁

public class EnumSerializer : IWebSerializer<Enum>
{
    public void Serialize(ref WebSerializerWriter writer, Enum value, WebSerializerOptions options)
    {
        // my logics for enum
    }
}
@claramelo
Copy link

Guys, I have the same problem here! Could you help us?

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

No branches or pull requests

2 participants