Top "Swifty-json" questions

SwiftyJSON is a tool to simplify handling JSON data in Swift.

Create JSON Object from Class in Swift

I'm pretty new to iOS development and Swift (so please bear with me). I have a class object defined like …

swift alamofire swifty-json
SwiftyJSON: Converting Objects to JSON

I know with SwiftyJSON you can convert the objects from JSON to Swift. Does SwiftyJSON allows you to go back? …

swift nsmanagedobject swifty-json
how to populate data in UITableView ? swift

I have managed to retrieve data from JSON using swiftJSON but I am facing problems when i try to populate …

ios uitableview swift swifty-json
Cannot convert value of type 'JSON' to expected argument type 'JSON'

Below is the code, //Controller.swift struct MyObject { init(myJson: JSON) { // some code here } } //unittest.swift let json = JSON("{}") let …

ios swift swifty-json xcode7.3 swift2.2
Swift: How to use library: Alamofire-SwiftyJSON

I'm having trouble trying to get this library Alamofire-SwiftyJSON (https://github.com/SwiftyJSON/Alamofire-SwiftyJSON) to work. I created a new …

swift alamofire swifty-json
Swift safely unwrapping optinal strings and ints

When I am about to fire my segue for the 2nd view I also send some values like this: if …

swift swifty-json forced-unwrapping
Invalid type in JSON write (_SwiftValue) using Alamofire

I have tried a lot of things now and are still getting: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: …

json swift alamofire swift3 swifty-json
SwiftyJSON dictionary parsing

I am attempting to use SwiftyJSON to parse some data from a server. For example, say the JSON returned from …

ios json swifty-json
How to retrieve data from file with SwiftyJSON

I have added a JSON-file to my file-system where the data is structured like this: { "DDD" : "3D Systems Corporation", "MMM" : "3…

json swift swifty-json
Cannot subscript a value of type 'JSON' with an index of type 'STRING'

This was working in Swift2 but now in Swift3 (after automatic conversion) I'm getting an error: if self.entry["scheduler"] || …

swift3 swifty-json