This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
Serialization doesn't work with non-static inner classes related to the double brace initialization #1067
Labels
Milestone
Version
We are using the packages of
main
branch.Describe the bug
The problem is during the serialization of non-static inner classes as the double brace initialization creates an extra class every time we use it, having a reference to the outer class. Also, this technique is considered as an anti-pattern.
Screenshots
Advantages vs Disadvantages of using double braces
Example of the necessary changes
Additional context
Related documentation
The text was updated successfully, but these errors were encountered: