You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment on iOS it is possible to use a JS Object where NSDictionary is need so it would be handy if it were possible to do something similar for Android .
For e.g there are a couple instances where we would need to do something like the following
Yeah, I've thought about that before but I'm concerned to what type should such JSON data be converted?
In your case, you use JSONArray and JSONObject but if we want to achieve similar behaviour as in iOS, we should probably map the JSON to a Map<T>.
This may be a good feature but I probably don't see all the use cases. I'm not sure how common it is for Java/Kotlin APIs to expect an argument of type org.json.JSONObject or org.json.JSONArray. Personally, there are quite a few such APIs I've seen. If you can shed some light on these questions, it would be great. :)
Btw, there is a similar issue about serializing the JS Date object to the Java Date objects (both the new and the old Java APIs). If you find it useful, you can vote on it, too.
At the moment on iOS it is possible to use a JS Object where NSDictionary is need so it would be handy if it were possible to do something similar for Android .
For e.g there are a couple instances where we would need to do something like the following
The text was updated successfully, but these errors were encountered: