Is there a way to pass context information from a ...
# serialization
f
Is there a way to pass context information from a parent object into a nested one during deserialization? Say I have the structure
Copy code
data class Parent(val id: Long, val child:Child)
data class Child(val id:Long. val parentId: Long, val data:String)
I want to pass parent's id into Child's deserializer so it can set parentId