with this, i can successfuly get the username from db and put it into label1 in my app with retrieved json. I also want to put the other values : cesit,nesne,cihazid into label2,3,4 . Icant put them all into json as single line because later in the app i cant extract them. How can i get them as a map or list for example so i can retrieve the field i like in my app ?
Dim parser As JSONParser
parser.Initialize(<yourjsontext>)
Dim root As Map = parser.NextObject
Dim s3 As String = root.Get("s3")
Dim s4 As String = root.Get("s4")
Dim onay As String = root.Get("onay")
Dim cins As String = root.Get("cins")
Dim soru As String = root.Get("soru")
Dim kategori As String = root.Get("kategori")
Dim anketid As String = root.Get("anketid")
Dim public As String = root.Get("public")
Dim tarih As String = root.Get("tarih")
Dim s1 As String = root.Get("s1")
Dim publicid As String = root.Get("publicid")
Dim s2 As String = root.Get("s2")
Dim username As String = root.Get("username")
Dim parser As JSONParser
parser.Initialize(<yourjsontext>)
Dim root As Map = parser.NextObject
Dim s3 As String = root.Get("s3")
Dim s4 As String = root.Get("s4")
Dim onay As String = root.Get("onay")
Dim cins As String = root.Get("cins")
Dim soru As String = root.Get("soru")
Dim kategori As String = root.Get("kategori")
Dim anketid As String = root.Get("anketid")
Dim public As String = root.Get("public")
Dim tarih As String = root.Get("tarih")
Dim s1 As String = root.Get("s1")
Dim publicid As String = root.Get("publicid")
Dim s2 As String = root.Get("s2")
Dim username As String = root.Get("username")
Dim res As String
Dim parser As JSONParser
res = Job.GetString
Log(res)
parser.Initialize(res)
Dim root As Map = parser.NextObject
Log(root.Get("soru"))
Dim res As String
Dim parser As JSONParser
res = Job.GetString
Log(res)
parser.Initialize(res)
Dim root As Map = parser.NextObject
Log(root.Get("soru"))