E Ekcentrik Member Licensed User Longtime User Jan 2, 2013 #1 Hello, I would like to parse this json formated string to read name , adress and tel attributes: {"soft":"MyInvoice", "method":"GetClients", "infos":{"name":"Mathilde","address":"32th Street ","tel":"123456"}, "id":3} I cannot get it work even with Arel tutorial. I wil appreciate your help. Thank you Marcel
Hello, I would like to parse this json formated string to read name , adress and tel attributes: {"soft":"MyInvoice", "method":"GetClients", "infos":{"name":"Mathilde","address":"32th Street ","tel":"123456"}, "id":3} I cannot get it work even with Arel tutorial. I wil appreciate your help. Thank you Marcel
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2013 #2 Untested code: B4X: Dim Map1, Map2 As Map Map1 = JsonParser.NextObject Map2 = Map1.Get("infos") Dim name As String = Map2.Get("name") ... Upvote 0
Untested code: B4X: Dim Map1, Map2 As Map Map1 = JsonParser.NextObject Map2 = Map1.Get("infos") Dim name As String = Map2.Get("name") ...
E Ekcentrik Member Licensed User Longtime User Jan 4, 2013 #3 Thank you Erel It works Marcel Upvote 0