Functions
The following functions are available globally.
-
Attempt to cast an
AnytoTor throwThrows
DecodingError.typeMismatch(expected, actual, metadata)Declaration
Swift
public func cast<T>(_ object: Any) throws -> T
-
Undocumented
Declaration
Swift
public func ~= <T>(lhs: T.Type, rhs: Any.Type) -> Bool -
Undocumented
Declaration
Swift
public func == (lhs: DecodingError.Metadata, rhs: DecodingError.Metadata) -> Bool -
Undocumented
Declaration
Swift
public func == (lhs: DecodingError, rhs: DecodingError) -> Bool
-
Undocumented
Declaration
Swift
public func => (lhs: Any, rhs: KeyPath) throws -> Any -
Undocumented
Declaration
Swift
public func =>? (lhs: Any, rhs: OptionalKeyPath) throws -> Any?
-
Undocumented
Declaration
Swift
public func => (lhs: OptionalKeyPath, rhs: OptionalKeyPath) -> OptionalKeyPath -
Undocumented
Declaration
Swift
public func =>? (lhs: OptionalKeyPath, rhs: OptionalKeyPath) -> OptionalKeyPath -
Undocumented
Declaration
Swift
public func => (lhs: OptionalKeyPath, rhs: KeyPath) -> OptionalKeyPath -
Undocumented
Declaration
Swift
public func =>? (lhs: KeyPath, rhs: OptionalKeyPath) -> OptionalKeyPath
-
Undocumented
Declaration
Swift
public func == (lhs: OptionalKey, rhs: OptionalKey) -> Bool
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Declaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingErrorif a key is missing or decoding fails.Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNull -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatchError,.other(error, metadata)or possible.missingKeyErroron required keysParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
something
-
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A?]?]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A]]?]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B]]?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A]?]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B?]?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B]]?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C]]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B]?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [A?]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A]?]]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B]?]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A?]]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A?]]]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[[A]]]]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[[A : B]]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A]]]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B?]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : [B]]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : [B : C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A]]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B]?]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C]?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B?]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B?]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [[B]]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [[B : C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C?]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : [C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : [C : D]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [A]? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B?]?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B]]?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C]]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B]?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C?]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C]]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C : D]]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : B?]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B]?]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C]?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B?]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B?]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[[B]]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[[B : C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B]]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C?]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : [C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : [C : D]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B]]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C]?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C : D]?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C?]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [[C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [[C : D]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C : D?]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C : [D]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Parameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C, D>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C : D]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : B]? where A : Decodable, A : Hashable, B : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing. -
Retrieves the object at
pathfromjsonand decodes it according to the return typeThrows
DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keysDeclaration
Swift
public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> A? where A : DecodableParameters
jsonAn object from NSJSONSerialization, preferably a
NSDictionary.pathKeyPath– can be appended using with=>or=>?Return Value
nilif the object atpathisNSNullor if any optional key is missing.
-
Undocumented
Declaration
Swift
public func parse<T>(_ json: Any, keyPath: KeyPath, decoder: ((Any) throws -> T)) throws -> T -
Undocumented
Declaration
Swift
public func parse<T>(_ json: Any, keyPath: OptionalKeyPath, decoder: ((Any) throws -> T?)) throws -> T?
Functions Reference