Search found 3 matches
- Saturday 22nd October 2022 5:18pm
- Forum: General
- Topic: JSON files
- Replies: 24
- Views: 24842
Re: JSON files
Thank you very much for all the help, i managed to get it running like this: ' Gambas class file ''******************************* ''REQUIRES gb.net.curl and gb.web ''******************************* GridViewData As GridView Public Sub Form_Open() GetData End Public Sub GetData() Dim myhttp As HttpCl...
- Friday 21st October 2022 10:46pm
- Forum: General
- Topic: JSON files
- Replies: 24
- Views: 24842
Re: JSON files
Thank you a lot for your help! i was able to understand more about Json decode in gambas. I made some small adjustements to the code you provide before so instead i can get the data collection printed in a terminal. This is how it looks: Public Sub GetData() Dim myhttp As HttpClient Dim sResult, sVa...
- Friday 21st October 2022 6:10pm
- Forum: General
- Topic: JSON files
- Replies: 24
- Views: 24842
Re: JSON files
Hello! New to Gambas here. I was trying to do an example using httpClient instead of Wget but no matter what i always end getting Null when i try to JsonDecode. Does anyone know what i may be doing wrong here? Any help is appreciated. ' Gambas class file Public Sub Form_Open() Dim myhttp As HttpClie...