Back to Alamofire

Error

docs/Structs/JSONEncoding/Error.html

5.12.0566 B
Original Source

Error

public enum Error : Swift.Error

Error produced by JSONEncoding.

`

                invalidJSONObject
                `

JSONEncoding attempted to encode an invalid JSON object. Usually this means the value included types not representable in Objective-C. See JSONSerialization.isValidJSONObject for details.

Declaration

Swift

case invalidJSONObject

`

                localizedDescription
                `

Undocumented

Declaration

Swift

public var localizedDescription: String { get }