J junaidahmed Well-Known Member Licensed User Longtime User Feb 12, 2018 #1 I have used Tableview to poulate data in Grid.I would like to know how to populate "JSON Data" in Grid (Tableview)
I have used Tableview to poulate data in Grid.I would like to know how to populate "JSON Data" in Grid (Tableview)
MarkusR Well-Known Member Licensed User Longtime User Feb 12, 2018 #3 i not used this table view but here you can get the data from key value pairs. Job.GetString is the JSON Data it used the JSON Library 1.10 https://www.b4x.com/android/help/json.html Code: Copy Dim JSON As JSONParser JSON.Initialize(Job.GetString) Dim Map1 As Map Map1 = JSON.NextObject EditTextBC.Text = Map1.Get("barcode") EditTextResponse.Text = Map1.Get("marking") LabelError.Text = Map1.Get("error") Upvote 0
i not used this table view but here you can get the data from key value pairs. Job.GetString is the JSON Data it used the JSON Library 1.10 https://www.b4x.com/android/help/json.html Code: Copy Dim JSON As JSONParser JSON.Initialize(Job.GetString) Dim Map1 As Map Map1 = JSON.NextObject EditTextBC.Text = Map1.Get("barcode") EditTextResponse.Text = Map1.Get("marking") LabelError.Text = Map1.Get("error")