iOS Swift and Android HTTP GET Json decode
Budget: £36 – £0 GBP
We need code for iOS swift and Android Java to decode an HTTP GET request into an JSON format? We have managed to call the HTTP and return the data in a string, but cannot work out how to decode the data into a JSON format so we can update our UI. I have added the function into the attached file, we do not need a mobile app to be developed we just need the code to be able to decode the string into an JSON format
The return from the URL is the following: [{"model": "asset.firmwarehash", "pk": 6, "fields": {"hash": "22535ce2229b2db1f41351fe06741d5a", "firmware_type": "i", "firmware_version": "V0.02", "update_needed": true}}] We need to decode the data and do checks such as if (update_needed == true) set text UI box
We need an iOS Swift and Android version of this code
The return from the URL is the following: [{"model": "asset.firmwarehash", "pk": 6, "fields": {"hash": "22535ce2229b2db1f41351fe06741d5a", "firmware_type": "i", "firmware_version": "V0.02", "update_needed": true}}] We need to decode the data and do checks such as if (update_needed == true) set text UI box
We need an iOS Swift and Android version of this code