So basically, instead of using an array of objects for calls, subscriptions and others, we could use either a JSONObject or JSONArray or JSON text as String when calling the call or subscribe methods, and the toString() method of the first 2 things could do what we already have.
Right now, I find it really annoying that I have to create new objects for every type of call I want to do, this would come very very handy and I hope you consider adding it. Thank you.
So basically, instead of using an array of objects for calls, subscriptions and others, we could use either a
JSONObject
orJSONArray
or JSON text asString
when calling thecall
orsubscribe
methods, and thetoString()
method of the first 2 things could do what we already have.Right now, I find it really annoying that I have to create new objects for every type of call I want to do, this would come very very handy and I hope you consider adding it. Thank you.