Hi,
i want to parse a JSON from this page -> http://api.nbp.pl/api/exchangerates/tables/A/?format=json
I need a list of currency but i have always an error
this is my code:
any ideas?
i want to parse a JSON from this page -> http://api.nbp.pl/api/exchangerates/tables/A/?format=json
I need a list of currency but i have always an error
this is my code:
B4X:
Sub Button1_Click
Dim j As HttpJob
j.Initialize("", Me)
j.Download("http://api.nbp.pl/api/exchangerates/tables/A/?format=json")
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
Dim JSON As JSONParser
JSON.Initialize(j.GetString)
Dim Map1 As Map
Dim list1 As List
Map1 = JSON.NextObject
list1 = Map1.Get("rates")
End If
j.Release
End Sub
any ideas?