You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my json:
{"error":{"title":"Cannot login","message":"Username is required"}}
This is my code, the last println is never executed:
let json = JSONValue(response)
println(response)
if let userName = json["error"]["title"].string{
println(userName)
}
The text was updated successfully, but these errors were encountered:
This is my json:
{"error":{"title":"Cannot login","message":"Username is required"}}
This is my code, the last println is never executed:
let json = JSONValue(response)
println(response)
if let userName = json["error"]["title"].string{
println(userName)
}
The text was updated successfully, but these errors were encountered: