Android Question Bidimensional array to Json

To a B4X app? Use B4XSerializator.

In both cases, serializator or json, you will need to convert the array to something else and then back to an array.
Might be better to switch to a different collection. Arrays are quite limited.

Code: Copy
Dim Rows As List
Rows.Initialize
For r = 0 to 9
 Dim cols As List
 cols.Initialize
 Rows.Add(cols)
 For c = 0 to 9
  cols.Add(Lista(r, c))
 Next
Next
Now you should serialize Rows.
 
Upvote 0
Back
Top