Functions

The following functions are available globally.

  • Attempt to cast an Any to T or throw

    Throws

    DecodingError.typeMismatch(expected, actual, metadata)

    Declaration

    Swift

    public func cast<T>(_ object: Any) throws -> T
  • Attempt to decode one of multiple objects in order until: A: we get a positive match, B: we throw an exception if the last object does not decode

    Declaration

    Swift

    public func decodeAsOneOf(_ json: Any, objectTypes: Decodable.Type...) throws -> Decodable
  • Attempt to decode one of multiple objects in order until: A: we get a positive match, B: we throw an exception if the last object does not decode

    Declaration

    Swift

    public func decodeArrayAsOneOf(_ json: Any, objectTypes: Decodable.Type...) throws -> [Decodable]
  • Undocumented

    Declaration

    Swift

    public func => (lhs: Any, rhs: KeyPath) throws -> Any
  • Undocumented

    Declaration

    Swift

    public func =>? (lhs: Any, rhs: OptionalKeyPath) throws -> Any?
  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[A]?]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : B]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [A?]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[A?]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[[A]]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[[A : B]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[A]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : B?]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : [B]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[A : [B : C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : B]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [A]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [B]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : C]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : B?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [B?]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [[B]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [[B : C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [B]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : C?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C : D]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : C]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : B]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError if a key is missing or decoding fails.

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> A? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[A?]?] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[[A]]?] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[[A : B]]?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[A]?] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : B?]?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : [B]]?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[A : [B : C]]?] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : B]?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [A?] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[[A]?]] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[[A : B]?]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[A?]] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[[A?]]] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[[[A]]]] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[[[A : B]]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[[A]]] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[[A : B?]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[[A : [B]]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[[A : [B : C]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[[A : B]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [[A]] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : [B]?]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[A : [B : C]?]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : B?]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : [B?]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : [[B]]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[A : [[B : C]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : [B]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[A : [B : C?]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[A : [B : [C]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [[A : [B : [C : D]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [[A : [B : C]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [[A : B]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> [A] where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [B?]?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [[B]]?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [[B : C]]?] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [B]?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : C?]?] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C]]?] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C : D]]?] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : C]?] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : B?] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [[B]?]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [[B : C]?]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [B?]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [[B?]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [[[B]]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [[[B : C]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [[B]]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [[B : C?]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [[B : [C]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [[B : [C : D]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [[B : C]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : [B]] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C]?]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C : D]?]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : C?]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C?]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : [[C]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [B : [[C : D]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C : D?]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C : [D]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D, E>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C : [D : E]]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable, D : Hashable, E : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C, D>(json: Any, keyPath: KeyPath) throws -> [A : [B : [C : D]]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B, C>(json: Any, keyPath: KeyPath) throws -> [A : [B : C]] where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A, B>(json: Any, keyPath: KeyPath) throws -> [A : B] where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatchError,.other(error, metadata) or possible .missingKeyError on required keys

    Declaration

    Swift

    public func => <A>(json: Any, keyPath: KeyPath) throws -> A where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    something

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A?]?]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A]]?]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B]]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A]?]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B?]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B]]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C]]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [A?]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A]?]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B]?]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A?]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A?]]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[[A]]]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[[A : B]]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A]]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B?]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : [B]]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : [B : C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[[A : B]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [[A]]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B]?]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C]?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B?]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B?]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [[B]]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [[B : C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C?]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : [C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : [B : C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [[A : B]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> [A]? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B?]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B]]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C]]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B]?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C?]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C]]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C]?]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : B?]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B]?]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C]?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B?]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B?]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[[B]]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[[B : C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B]]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C?]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : [C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [[B : C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B]]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C]?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C?]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C?]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [[C]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C, D, E>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : [C : [D : E]]]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable, C : Hashable, D : Decodable, D : Hashable, E : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    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 : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B, C>(json: Any, keyPath: OptionalKeyPath) throws -> [A : [B : C]]? where A : Decodable, A : Hashable, B : Decodable, B : Hashable, C : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A, B>(json: Any, keyPath: OptionalKeyPath) throws -> [A : B]? where A : Decodable, A : Hashable, B : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.

  • Retrieves the object at path from json and decodes it according to the return type

    Throws

    DecodingError.typeMismatch,.other(error, metadata)or possible.missingKeyError` on required keys

    Declaration

    Swift

    public func =>? <A>(json: Any, keyPath: OptionalKeyPath) throws -> A? where A : Decodable

    Parameters

    json

    An object from NSJSONSerialization, preferably a NSDictionary.

    path

    KeyPath– can be appended using with => or =>?

    Return Value

    nil if the object at path is NSNull or if any optional key is missing.