Top "Swifty-json" questions

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

Convert a simple string to JSON String in swift

I know there is a question with same title here. But in that question, he is trying to convert a …

json swift swifty-json
How to loop through JSON with SwiftyJSON?

I have a json that I could parse with SwiftyJSON : if let title = json["items"][2]["title"].string { println("title : \(title)") } …

ios json swift swifty-json
How to create the model class for the following JSON data and parse it?

My JSON data { "addon_items" : [ { "aname" : "", "id" : "2588", "name" : "Plain Nan", "order" : "1", "aid" : "259", "Sub_Add_Items" : "", "icon" : "", "status" : "1", "next" : "0", "price" : "0.60" }, { "aname" : "", "…

json swift alamofire swifty-json
No such Module 'SwiftyJSON' on Swift 3.0

After migrating to Swift 3.0, I am trying to import SwiftyJSON into my project. However, when I import the framework 'import …

swift xcode swifty-json swift3
Module compiled with swift 3.0 cannot be imported in Swift 3.0.1

I upgraded Xcode to 8.1 GM and am now getting the below error for SwiftyJSON. Other imported frameworks seem to work. …

swift swifty-json
SwiftyJSON object back to string

I'm using the SwiftyJSON library to parse JSON into swift objects. I can create the JSON object and read and …

ios json swift swifty-json
NSDictionary to json string to json object using SwiftyJSON

I have a use case where I have an array of dictionaries and I need them as a json object: …

ios swift swifty-json
Get JSON result with GET request and parameters with Alamofire

This is my url String with paramaters. http://api.room2shop.com/api/product/GetProducts?categoryId=22&filter=2&pageNumber=1 …

ios swift alamofire swifty-json
Alamofire responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.inputDataNilOrZeroLength)

I had some working code that was getting results from a MySQL DB on a remote web server. It is …

swift alamofire swifty-json
How to append new data to an existing JSON array(swiftyJSON)

I have an array of SwiftyJson data that I have declared and filled it with data .The code I'm using …

ios arrays json swift swifty-json