I want to set the height of a container from a variable that comes from an API call. I then populate a list of such items. I understand it is currently not working because the JSON items are strings, while the container height expects integer (or double)? How can I transform the JSON reply to some integer (or double)? Any help please?
Convert JSON to integer (or double)?
Database & APIs
Tried implementing it
Yes
1 reply