From the README of SwiftyJSON on GitHub:
//convert the JSON to a raw String
if let string = libraryObject.rawString() {
//Do something you want
print(string)
}
Related Contents:
- How to parse JSON response from Alamofire API in Swift?
- How can I combine two Dictionary instances in Swift?
- Simple and clean way to convert JSON string to Object in Swift
- Twitter api text field value is truncated
- “The data couldn’t be read because it is missing” error when decoding JSON in Swift
- Convert array to JSON string in swift
- self.tableView.reloadData() not working in Swift
- Swift read userInfo of remote notification
- how to parse string array with SwiftyJSON?
- How to convert JSON to String in ios Swift?
- Errors thrown from here are not handled
- Move textfield when keyboard appears swift
- Swift: declare an empty dictionary
- Delaying function in swift [duplicate]
- Xcode iOS 8 Keyboard types not supported
- How to group by the elements of an array in Swift
- What does “% is unavailable: Use truncatingRemainder instead” mean?
- How can I color a UIImage in Swift?
- Make REST API call in Swift
- SwiftUI – How to pass EnvironmentObject into View Model?
- Sqlite File Location Core Data
- iOS – ‘MyProject-Swift.h’ file not found when running Unit Tests for Swift
- How do I add text to an image in iOS Swift?
- Unable to run app in Simulator: Xcode beta 6 iOS 8
- swift : Closure declaration as like block declaration
- Getting device orientation in Swift
- How to animate the textColor property of an UILabel?
- iOS 15 UITabBarController’s tabBar background color turns black
- How can I make a function execute every second in swift?
- How to set a background image in Xcode using swift?
- AVD_loader.cpp: failed to get a service for display 4
- Swift: Get all subviews of a specific type and add to an array
- App crashing when using Firebase Auth, reason: ‘Default app has already been configured.’
- How do I add a section title in UICollectionView?
- Creating UIImage with renderingMode in Swift
- How set swift 3 UITextField border color?
- In iOS, how do I create a button that is always on top of all other view controllers?
- change navigation bar title font – swift
- How to add percent sign in string format and using swift language? [duplicate]
- About “Declaration is only valid at file scope”
- Saving image and then loading it in Swift (iOS)
- Checking location service permission on iOS
- “oldValue” and “newValue” default parameters names inside willSet / didSet unrecognized
- Detect when UITableView has scrolled to the bottom
- How to implement two inits with same content without code duplication in Swift?
- Subview frame is incorrect when creating UICollectionViewCell
- Multi-line user input in iOS: UITextField vs UITextView
- Sorting of an array alphabetically in swift
- Drop-Down List in UITableView in iOS
- Why is main window of type double optional?