getting an error trying to display some json data. It doesn't like the the pair values coming back. In fact, its crashing both virtual emulator and USB phone emulator. The list pair looks correct to me...so unsure why isn't throwing an error.
Here is the json call and returned values. the code is written for multiple devices returned, but there is only 1 currently in the database.
Funny, the responseContent I see in the first post is a JSON list (see the surrounding square brackets) with a single JSON object in it.
After the JSONDecodeWithDictionaries, you can test each level of whatever you got with the
is dictionary
is list
blocks.
(draggable)
P.S. Also, if you got a list, your loop should be For Each DeviceDict in list.
If you got a dictionary, you should not be looping over it, but instead interrogating each of its key/value pairs by name as needed.