Dim Buttons As List = Array(Button1, Button2, Button3, Button4, Button5)Dim s As String = Buttons.Get(2).As(B4XView).Text
Buttons.Get(2).As(B4XView).Text = "abc"
Dim j As String = $"{"data": {
"key1": "value1",
"complex_key2": {
"key": "value2"
}
},
"items": [0, 1, 2]
}"$
Dim parser As JSONParser
parser.Initialize(j)
Dim m As Map = parser.NextObject
Dim value1 As String = m.Get("data").As(Map).Get("key1")
Dim value2 As String = m.Get("data").As(Map).Get("complex_key2").As(Map).Get("key")
Dim FirstItemInList As String = m.Get("items").As(List).Get(0)
For Each item As Int In m.Get("items").As(List)
Log(item)
Next
Root.GetView(8).As(WebView).LoadUrl("https://www.google.com")