I am using GsonMessageAdapter.Factory() but i get {"type":"error","message":"Malformed JSON"} response.
Can anyone tell how to use model class with scarlet? or if any example is there to use gson in scarlet
can you share the response? if you are using Gson, just install the Gson adapter factory. refer to https://github.com/google/gson on how to annotate your model classes to work with Gson
I am using
GsonMessageAdapter.Factory()
but i get {"type":"error","message":"Malformed JSON"} response. Can anyone tell how to use model class with scarlet? or if any example is there to use gson in scarlet