X11 error: BadValue (integer parameter out of range for operation)

What underlying problem does this imply? Which integer parameter is out-of-range? Which part of the source code? And most importantly, how can I fix the problem? [vo/opengl/x11] X11 error: BadValue (integer parameter out of range for operation) [vo/opengl/x11] Type: 0, display: 0x7f264c43f950, resourceid: 0, serial: 3f [vo/opengl/x11] Error code: 2, request code: 9a, minor code:…

Details

How to loop through nested json objects in swift?

I have been trying to retrieve Postal_code from the following google API but unable to loop through the JSON array This is the function for parsing JSON func parseJson(Json:Data) { let decoder = JSONDecoder() do { let decodedData = try decoder.decode(MapModel.self, from: Json) let pincode = decodedData.results[0].address_components[0].long_name print(pincode) } catch { print(error) return } }…

Details