Hi,
i have an array in a string:
s = "[1,2]"
how can i extract the 2 value?
The problem start from a json:
{"config":["Biccio",0,0,[40,50,120,140],[40,50,120,140],[40,50,120,140],[40,50,120,140],[40,50,120,140],[40,50,120,140],0]}
and i extract different values:
Each colconfig is a string...
i have an array in a string:
s = "[1,2]"
how can i extract the 2 value?
The problem start from a json:
{"config":["Biccio",0,0,[40,50,120,140],[40,50,120,140],[40,50,120,140],[40,50,120,140],[40,50,120,140],[40,50,120,140],0]}
and i extract different values:
B4X:
Dim parser As JSONParser
parser.Initialize(s)
Dim RootTemp As Map = parser.NextObject
Dim config As List = RootTemp.Get("config")
For Each colconfig As String In config
Log(colconfig)
Next
Each colconfig is a string...