Landry Norris
04/07/2022, 6:46 PMLandry Norris
04/07/2022, 6:47 PMDominaezzz
04/07/2022, 7:07 PMephemient
04/07/2022, 7:28 PMLandry Norris
04/07/2022, 7:34 PMJson.encodeToString(listOf(EmptyResponse, EmptyResponse))
. This is currently only for encoding. I’m not decoding it yet.Dominaezzz
04/07/2022, 7:34 PMJson.encodeToString(listOf<BaseClass>(EmptyResponse, EmptyResponse))
Landry Norris
04/07/2022, 7:34 PMJson.encodeToString(EmptyResponse)
Landry Norris
04/07/2022, 7:34 PMDominaezzz
04/07/2022, 7:35 PMJson.encodeToString<BaseClass>(EmptyResponse)
Landry Norris
04/07/2022, 7:35 PMephemient
04/07/2022, 7:36 PMval list: List<BaseClass> = listOf(EmptyResponse)
Json.encodeToString(list)
and all sorts of other variationsLandry Norris
04/07/2022, 7:36 PMephemient
04/07/2022, 7:37 PMlistOf(EmptyResponse)
unless it has another reason to, which is List<EmptyResponse>
, which is not polymorphicephemient
04/07/2022, 7:40 PMLandry Norris
04/07/2022, 7:40 PMephemient
04/07/2022, 7:40 PMephemient
04/07/2022, 7:41 PMLandry Norris
04/07/2022, 7:42 PM