Questions tagged [swifty-json]

SwiftyJSON stands as a powerful resource for streamlining the management of JSON information within Swift programming language.

Tips on adding additional information to a current JSON array using SwiftyJSON

I am currently working with an array of SwiftyJson data that has been declared and populated with relevant information. The code snippet used to populate the hoge array is as follows: self.hoge = JSON(data: data!) However, I now need to add new SwiftyJSON ...

Using Alamofire and SwiftyJSON subscripts in Swift 3

For some reason, my code isn't working as expected and the result is always nil. I have incorporated Alamofire and SwiftyJSON into my code. Here is a snippet: let urlString = "myurl" let params: Parameters = [ "accessProvider": AccessProvider, ...

Slow JSON Processing Speed with SwiftyJSON

I have integrated a large JSON file (500kb) using SwiftyJSON.swift library. It's actually a gpx-file from Strava that I imported successfully. However, the code snippet below is performing very slow, only processing one integration per second. Why is this ...

Navigating the intricacies of parsing JSON data in SwiftyJSON can be a

I'm utilizing SwiftyJSON. This is an example of a json string: { "geocoded_waypoints" : [ { "geocoder_status" : "OK", "place_id" : "ChIJkcemZ9r9jT8RCoy7cipVk3Q", "types" : [ "route" ] }, { "ge ...

Effortless retrieveJSON() method

SwiftyJSON is a valuable asset for Swift developers. It can be easily imported into projects using different methods such as CocoaPods or Carthage. I frequently utilize SwiftyJSON in my projects since handling JSON files is often necessary. To streamline ...

Having trouble with parsing JSON data in Swift?

I've been attempting to utilize Swifty JSON for parsing a local file. While I am able to successfully store content in the data variable, I seem to be encountering issues when trying to use JSON from the SwiftJSON framework as it is not storing any co ...