JSONParsingError
public enum JSONParsingError : ErrorEnum
Errors thrown when parsing a JSON payload fails.
-
The parsed JSON value is not a dictionary.
Declaration
Swift
case jsonIsNotADictionary(_: Any) -
The input string is not valid JSON.
Declaration
Swift
case invalidJSON(_: any Error)
View on GitHub