turansky
10/04/2018, 9:18 PM{
"data": [
{
"id": "x1_1",
"type": "x1"
},
{
"id": "x2_1",
"type": "x2",
"children": [
{
"id": "y1_1",
"type": "y1"
},
{
"id": "y2_1",
"type": "y2",
"connectedItems": [
"x1_1"
]
}
}
]
}
Data classes
interface X {
val id: String
}
interface Y {
val id: String
}
data class D1(data: Array<X>)
data class X1(id): X
data class X2(id, children: Array<Y>): X
data class Y1(id): Y
data class Y2(id, connectedItems): Y
If there any possibility to realize deserialization for this case (according type
field)?sandwwraith
10/07/2018, 3:58 PMturansky
10/16/2018, 8:11 PMsandwwraith
10/17/2018, 12:00 PMturansky
11/27/2018, 7:17 PMsandwwraith
11/29/2018, 8:39 PMturansky
12/12/2018, 9:25 PMsandwwraith
12/13/2018, 9:24 AMturansky
01/23/2019, 10:25 PM1.3.20
+ 0.10.0
?sandwwraith
01/24/2019, 11:01 AMturansky
01/24/2019, 11:04 AMby type
deserialization (like in Jackson) be available later?sandwwraith
01/24/2019, 11:39 AMturansky
01/30/2019, 4:48 PMby type
deserialization?sandwwraith
02/03/2019, 5:20 PMturansky
02/10/2019, 1:26 PM