-
Notifications
You must be signed in to change notification settings - Fork 175
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
Using delegated properties in deserialization #574
Comments
First, it seems difficult to solve this with an approach as There doesn't seem to be any way to detect that a class is In other words, there is no way to get information to control serialization and deserialization. I also checked |
It is closed as a duplicate of #459. |
I was just passing by, but |
@sandwwraith However, I am not considering implementing this feature itself. |
Your question
We would like to make use of kotlins 'inheritance by delegation' feature. In the json-structure the object should be flat, i.e. not exposing the delegation. Suppressing the delegation during serialization works, but deserialization fails. Is there a way to achive this or should we raise a feature request?
Example:
The text was updated successfully, but these errors were encountered: