Iv'e tried different approach to serialization of ...
# serialization
a
Iv'e tried different approach to serialization of recurrent structure by creating a proxy class without generics. Now I get
Copy code
java.lang.IndexOutOfBoundsException at SerializationTest.kt:60
Index 0 out-of-bounds for length 0
java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
	at java.base/java.util.Objects.checkIndex(Objects.java:372)
	at java.base/java.util.ArrayList.get(ArrayList.java:440)
	at kotlinx.serialization.internal.SerialClassDescImpl.getElementName(SerialClassDescImpl.kt:71)