-
Notifications
You must be signed in to change notification settings - Fork 30
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
Is @Contextual supported, because I get error while I use it. #208
Comments
@aaziz993 There is nothing in the library that should block contextual serializers. You may need to look at kotlinx.serialization documentation on how to do it properly ( The suggested way to have custom serializers is to just use |
Sorry for late response,
And this is the error:
|
Ok. The problem appears that for serialization the inner values are serialized using the |
Understood. Thank you for support. |
I've implemented contextual serialization. It will be supported in 0.90.0-RC1 (out soon). There is however one error in your code. The descriptor of You also want to note that the way to support serializers types that don't natively support it is to use |
I will incorporate your feedback and look forward to 0.90.0-RC1. |
In my use case I need to use @contextual on Java datetime, BigInteger, BigDecimal, UUID and Any types with custom serializers, but it leads to an error.
The text was updated successfully, but these errors were encountered: