I\'m using an API that returns JSON that looks like this
{ \"boards\":[ { \"attribute\":\"value1\" }, { \"attribute\":
Dictionary access in Swift returns an Optional, so you need to force the value (or use the if let syntax) to use it.
if let
This works: parsedJSON["boards"]![0]
parsedJSON["boards"]![0]
(It probably shouldn't crash Xcode, though)