and something else i tried to do which failed was ...
# ktor
n
and something else i tried to do which failed was
<http://client.post|client.post><List<Users>>(...)
1
this gets parsed properly by the json feature but it gets converted into CIOHttpResponse somewhere in the pipeline and fails with
same for array, i did not test map yet, but i expect it to break too
c
cc @e5l
Could you please show your code?
Most likely you need to setup serialization to deserialize lists properly
n
once i make sure this is not jsut a stupid error in my test
that part i did
okay nevermind, it works, i had copypasted the test and changed everything except the path it called
i am feeling so stupid
c
Note that it is not "gets converted into CIOHttpResponse ", it is always
CIOHttpResponse
in the beginning
perhaps we need to improve error message to avoid confusion
n
oh and now kotlinx-serialization inserts the classname in the json.. damn, that breaks gson
and this is unavoidable i nthe current state of ktor i guess.. maybe jackson can handle this.. i remember reading about that