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
JSONHelper should be able to parse JSON strings and deserialize them as well. Which would make things like this possible:
classPerson:Deserializable{varname=""requiredinit(data:[String:AnyObject]){
name <<<data["name"]}}varjsonString="[{\"name\": \"I am\"},{\"name\": \"Groot!\"}]"varpeople=[Person]()
people <<<<* jsonString
for person in people {println("\(person.name)")}
The text was updated successfully, but these errors were encountered:
JSONHelper should be able to parse JSON strings and deserialize them as well. Which would make things like this possible:
The text was updated successfully, but these errors were encountered: