Sunny
08/03/2022, 7:04 AMSerializer for class 'JsonLiteral' is not found.
Mark the class as @Serializable or provide the serializer explicitly.HttpClientUtils
Request is of type JsonElement
. Anyone faced something similar / any leads to look into.Aleksei Tirman [JB]
08/03/2022, 7:11 AMSunny
08/03/2022, 9:14 AMJson.decodeFromString(query)
as body. From the discussion in the link. I gather we need to
You can either cast it or have a parameter with a concrete type
Aleksei Tirman [JB]
08/03/2022, 9:59 AMAny
type.Sunny
08/03/2022, 2:02 PMsetBody(postBody as JsonObject)
But, strangely fails for ios in our KMM setup.Sunny
08/04/2022, 9:54 AM