Hello again
This is the code:
Dim c_worker As cls_fetcher
log(c_worker.f_get_results)
in the console this is what I see after executing that code
(MyMap) {.section=9, signal-strength=-79}
so I assumed "f_get_results" is returning a Map and I did this:
Dim c_worker As cls_fetcher
Dim t_map As Map = c_worker.f_get_results
but unfortunately I got this error message:
java.lang.ClassCastException: org.json.JSONObject cannot be cast to anywheresoftware.b4a.objects.collections.Map$MyMap
so my question is, how am I supposed to handle the java JSONObject object in b4a?
thanks again