Hallo könnte mir jemand helfen folgenden Json zu parsen
mein Code Aktuell
B4X:
{"result":[["23332c4013124b0092568b4514a6b6e6.d",1428959785325,{"plext":{"text":"ickeoch deployed an L1 Resonator on Akzent (Am Steinberg 2, 13086 Berlin, Germany)","markup":[["PLAYER",{"plain":"ickeoch","team":"RESISTANCE"}],["TEXT",{"plain":" deployed an "}],["TEXT",{"plain":"L1"}],["TEXT",{"plain":" Resonator on "}],["PORTAL",{"name":"Akzent ","plain":"Akzent (Am Steinberg 2, 13086 Berlin, Germany)","team":"RESISTANCE","latE6":52556333,"address":"Am Steinberg 2, 13086 Berlin, Germany","lngE6":13429370}]],"plextType":"SYSTEM_BROADCAST","categories":1,"team":"RESISTANCE"}}],["ad8d414fb97c44f88b62c7c8341811e2.d",1428959784873,{"plext":{"text":"bonnt destroyed an L8 Resonator on Jugendclub KoCa (Landsberger Allee 16, 10249 Berlin, Germany)","markup":[["PLAYER",{"plain":"bonnt","team":"ENLIGHTENED"}],["TEXT",{"plain":" destroyed an "}],["TEXT",{"plain":"L8"}],["TEXT",{"plain":" Resonator on "}],["PORTAL",{"name":"Jugendclub KoCa","plain":"Jugendclub KoCa (Landsberger Allee 16, 10249 Berlin, Germany)","team":"RESISTANCE","latE6":52523499,"address":"Landsberger Allee 16, 10249 Berlin, Germany","lngE6":13435741}]],"plextType":"SYSTEM_BROADCAST","categories":1,"team":"ENLIGHTENED"}}]]}
mein Code Aktuell
B4X:
Dim root As Map = parser.NextObject
Dim result As List = root.Get("result")
For Each colresult As List In result
Dim Guid As String = colresult.Get(0)
Dim Timstamp As String = colresult.Get(1)
Dim Plext As List = colresult.Get(2)
'Dim markup as Map =
'Dim PText As String = Plext.Get("text")
'Dim text As String
'Dim Agent As Map
Dim m As Map = Plext.Get("plext")
Log(m.GetKeyAt(0) & " = " & m.GetValueAt(0))
' resp.Write(Plext.Values)
For Each colcolresult As String In colresult
Next
Next