Take under notice the following JSON string:
If you do this:
What you get in the logs is the {field1=1,field2=2}.
I tried to access it as a map but I cannot retrieve the values.
JSON:
{"act":"1","data":{"field1":"1","field2":"2"}}
If you do this:
B4X:
Dim m As Map = sJSON.As(JSON).ToMap
log(m.Get("data"))
What you get in the logs is the {field1=1,field2=2}.
I tried to access it as a map but I cannot retrieve the values.