dambakk
03/13/2020, 5:32 PMAny
serializable object?JsonFeature
and annotated the data class with Serializable
. I have also tried to convert the list to json manually using Json.nonstrict.toJson(…)
but this results in a JsonObject cannot be cast to String
exception.corneil
03/13/2020, 8:09 PMString
media type gives a hint of how to convert the string. A binary blob becomes base64 encoded string.dambakk
03/16/2020, 7:56 AMdata class IdObject(
val id: String
)
data class IdList(
val ids: List<IdObject>
)
Worked on first try 🙂