URLQueryKeyDecodingStrategy
public enum URLQueryKeyDecodingStrategy
The values that determine how to decode a type’s coding keys from URL query keys.
-
A key decoding strategy that doesn’t change key names during decoding.
Declaration
Swift
case useDefaultKeys
-
A key decoding strategy defined by the closure you supply.
Declaration
Swift
case custom((_ codingPath: [CodingKey]) -> CodingKey)